diff options
Diffstat (limited to 'src/lib/libcrypto/bio')
-rw-r--r-- | src/lib/libcrypto/bio/bio_cb.c | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bss_file.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/libcrypto/bio/bio_cb.c b/src/lib/libcrypto/bio/bio_cb.c index 133d2b77dc..067a25aba3 100644 --- a/src/lib/libcrypto/bio/bio_cb.c +++ b/src/lib/libcrypto/bio/bio_cb.c | |||
@@ -139,9 +139,7 @@ BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi, long argl, | |||
139 | b = (BIO *)bio->cb_arg; | 139 | b = (BIO *)bio->cb_arg; |
140 | if (b != NULL) | 140 | if (b != NULL) |
141 | BIO_write(b, buf, strlen(buf)); | 141 | BIO_write(b, buf, strlen(buf)); |
142 | #if !defined(OPENSSL_NO_STDIO) | ||
143 | else | 142 | else |
144 | fputs(buf, stderr); | 143 | fputs(buf, stderr); |
145 | #endif | ||
146 | return (r); | 144 | return (r); |
147 | } | 145 | } |
diff --git a/src/lib/libcrypto/bio/bss_file.c b/src/lib/libcrypto/bio/bss_file.c index 6f81a45a47..6ac7bdd020 100644 --- a/src/lib/libcrypto/bio/bss_file.c +++ b/src/lib/libcrypto/bio/bss_file.c | |||
@@ -89,7 +89,6 @@ | |||
89 | #include <openssl/bio.h> | 89 | #include <openssl/bio.h> |
90 | #include <openssl/err.h> | 90 | #include <openssl/err.h> |
91 | 91 | ||
92 | #if !defined(OPENSSL_NO_STDIO) | ||
93 | 92 | ||
94 | static int file_write(BIO *h, const char *buf, int num); | 93 | static int file_write(BIO *h, const char *buf, int num); |
95 | static int file_read(BIO *h, char *buf, int size); | 94 | static int file_read(BIO *h, char *buf, int size); |
@@ -324,6 +323,5 @@ file_puts(BIO *bp, const char *str) | |||
324 | return (ret); | 323 | return (ret); |
325 | } | 324 | } |
326 | 325 | ||
327 | #endif /* OPENSSL_NO_STDIO */ | ||
328 | 326 | ||
329 | #endif /* HEADER_BSS_FILE_C */ | 327 | #endif /* HEADER_BSS_FILE_C */ |