diff options
Diffstat (limited to 'src/lib/libcrypto/err/err_prn.c')
-rw-r--r-- | src/lib/libcrypto/err/err_prn.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/lib/libcrypto/err/err_prn.c b/src/lib/libcrypto/err/err_prn.c index ecd0e7c4fa..0999ff214b 100644 --- a/src/lib/libcrypto/err/err_prn.c +++ b/src/lib/libcrypto/err/err_prn.c | |||
@@ -57,20 +57,19 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include "lhash.h" | 60 | #include <openssl/lhash.h> |
61 | #include "crypto.h" | 61 | #include <openssl/crypto.h> |
62 | #include "cryptlib.h" | 62 | #include "cryptlib.h" |
63 | #include "buffer.h" | 63 | #include <openssl/buffer.h> |
64 | #include "err.h" | 64 | #include <openssl/err.h> |
65 | #include "crypto.h" | 65 | #include <openssl/crypto.h> |
66 | 66 | ||
67 | #ifndef NO_FP_API | 67 | #ifndef NO_FP_API |
68 | void ERR_print_errors_fp(fp) | 68 | void ERR_print_errors_fp(FILE *fp) |
69 | FILE *fp; | ||
70 | { | 69 | { |
71 | unsigned long l; | 70 | unsigned long l; |
72 | char buf[200]; | 71 | char buf[200]; |
73 | char *file,*data; | 72 | const char *file,*data; |
74 | int line,flags; | 73 | int line,flags; |
75 | unsigned long es; | 74 | unsigned long es; |
76 | 75 | ||
@@ -83,13 +82,12 @@ FILE *fp; | |||
83 | } | 82 | } |
84 | #endif | 83 | #endif |
85 | 84 | ||
86 | void ERR_print_errors(bp) | 85 | void ERR_print_errors(BIO *bp) |
87 | BIO *bp; | ||
88 | { | 86 | { |
89 | unsigned long l; | 87 | unsigned long l; |
90 | char buf[256]; | 88 | char buf[256]; |
91 | char buf2[256]; | 89 | char buf2[256]; |
92 | char *file,*data; | 90 | const char *file,*data; |
93 | int line,flags; | 91 | int line,flags; |
94 | unsigned long es; | 92 | unsigned long es; |
95 | 93 | ||