diff options
Diffstat (limited to 'src/lib/libcrypto/err')
-rw-r--r-- | src/lib/libcrypto/err/err.h | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/err/err_prn.c | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/libcrypto/err/err.h b/src/lib/libcrypto/err/err.h index 601f56a624..0396aba726 100644 --- a/src/lib/libcrypto/err/err.h +++ b/src/lib/libcrypto/err/err.h | |||
@@ -114,10 +114,8 @@ | |||
114 | 114 | ||
115 | #include <openssl/opensslconf.h> | 115 | #include <openssl/opensslconf.h> |
116 | 116 | ||
117 | #ifndef OPENSSL_NO_FP_API | ||
118 | #include <stdio.h> | 117 | #include <stdio.h> |
119 | #include <stdlib.h> | 118 | #include <stdlib.h> |
120 | #endif | ||
121 | 119 | ||
122 | #include <openssl/ossl_typ.h> | 120 | #include <openssl/ossl_typ.h> |
123 | #ifndef OPENSSL_NO_BIO | 121 | #ifndef OPENSSL_NO_BIO |
@@ -337,9 +335,7 @@ const char *ERR_func_error_string(unsigned long e); | |||
337 | const char *ERR_reason_error_string(unsigned long e); | 335 | const char *ERR_reason_error_string(unsigned long e); |
338 | void ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u), | 336 | void ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u), |
339 | void *u); | 337 | void *u); |
340 | #ifndef OPENSSL_NO_FP_API | ||
341 | void ERR_print_errors_fp(FILE *fp); | 338 | void ERR_print_errors_fp(FILE *fp); |
342 | #endif | ||
343 | #ifndef OPENSSL_NO_BIO | 339 | #ifndef OPENSSL_NO_BIO |
344 | void ERR_print_errors(BIO *bp); | 340 | void ERR_print_errors(BIO *bp); |
345 | #endif | 341 | #endif |
diff --git a/src/lib/libcrypto/err/err_prn.c b/src/lib/libcrypto/err/err_prn.c index d6b488fee9..7790287a3f 100644 --- a/src/lib/libcrypto/err/err_prn.c +++ b/src/lib/libcrypto/err/err_prn.c | |||
@@ -86,7 +86,6 @@ ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u), void *u) | |||
86 | } | 86 | } |
87 | } | 87 | } |
88 | 88 | ||
89 | #ifndef OPENSSL_NO_FP_API | ||
90 | static int | 89 | static int |
91 | print_fp(const char *str, size_t len, void *fp) | 90 | print_fp(const char *str, size_t len, void *fp) |
92 | { | 91 | { |
@@ -103,7 +102,6 @@ ERR_print_errors_fp(FILE *fp) | |||
103 | { | 102 | { |
104 | ERR_print_errors_cb(print_fp, fp); | 103 | ERR_print_errors_cb(print_fp, fp); |
105 | } | 104 | } |
106 | #endif | ||
107 | 105 | ||
108 | static int | 106 | static int |
109 | print_bio(const char *str, size_t len, void *bp) | 107 | print_bio(const char *str, size_t len, void *bp) |