Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/crypto/dh
diff options
context:
space:
mode:
authorBrian Smith <brian@briansmith.org>2015-04-10 05:21:10 +0300
committerAdam Langley <agl@google.com>2015-04-13 23:23:29 +0300
commit83a82981dc81b4699f6d7aa423e32712af71a55a (patch)
treefcbbae35a2812510bbd259779a51216fc7a43f63 /crypto/dh
parent7d897a1bf2abab32f3e6200ee15930d68ae87ad6 (diff)
Rename BIO_print_errors_fp back to ERR_print_errors_fp & refactor it.
A previous change in BoringSSL renamed ERR_print_errors_fp to BIO_print_errors_fp as part of refactoring the code to improve the layering of modules within BoringSSL. Rename it back for better compatibility with code that was using the function under the original name. Move its definition back to crypto/err using an implementation that avoids depending on crypto/bio. Change-Id: Iee7703bb1eb4a3d640aff6485712bea71d7c1052 Reviewed-on: https://boringssl-review.googlesource.com/4310 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/dh')
-rw-r--r--crypto/dh/dh_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/dh/dh_test.c b/crypto/dh/dh_test.c
index d03b1b38..4c22bbb3 100644
--- a/crypto/dh/dh_test.c
+++ b/crypto/dh/dh_test.c
@@ -62,6 +62,7 @@
#include <openssl/bio.h>
#include <openssl/bn.h>
#include <openssl/crypto.h>
+#include <openssl/err.h>
#include <openssl/mem.h>
#include "internal.h"
@@ -194,7 +195,7 @@ int main(int argc, char *argv[]) {
}
err:
- BIO_print_errors_fp(stderr);
+ ERR_print_errors_fp(stderr);
if (abuf != NULL) {
OPENSSL_free(abuf);
@@ -498,7 +499,7 @@ static int run_rfc5114_tests(void) {
bad_err:
fprintf(stderr, "Initalisation error RFC5114 set %d\n", i + 1);
- BIO_print_errors_fp(stderr);
+ ERR_print_errors_fp(stderr);
err:
if (Z1 != NULL) {