diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bio_cb.c')
| -rw-r--r-- | src/lib/libcrypto/bio/bio_cb.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/lib/libcrypto/bio/bio_cb.c b/src/lib/libcrypto/bio/bio_cb.c index bc6ed9eda1..0ffa4d2136 100644 --- a/src/lib/libcrypto/bio/bio_cb.c +++ b/src/lib/libcrypto/bio/bio_cb.c | |||
| @@ -60,16 +60,11 @@ | |||
| 60 | #include <string.h> | 60 | #include <string.h> |
| 61 | #include <stdlib.h> | 61 | #include <stdlib.h> |
| 62 | #include "cryptlib.h" | 62 | #include "cryptlib.h" |
| 63 | #include "bio.h" | 63 | #include <openssl/bio.h> |
| 64 | #include "err.h" | 64 | #include <openssl/err.h> |
| 65 | 65 | ||
| 66 | long MS_CALLBACK BIO_debug_callback(bio,cmd,argp,argi,argl,ret) | 66 | long MS_CALLBACK BIO_debug_callback(BIO *bio, int cmd, const char *argp, |
| 67 | BIO *bio; | 67 | int argi, long argl, long ret) |
| 68 | int cmd; | ||
| 69 | char *argp; | ||
| 70 | int argi; | ||
| 71 | long argl; | ||
| 72 | long ret; | ||
| 73 | { | 68 | { |
| 74 | BIO *b; | 69 | BIO *b; |
| 75 | MS_STATIC char buf[256]; | 70 | MS_STATIC char buf[256]; |
| @@ -130,7 +125,7 @@ long ret; | |||
| 130 | b=(BIO *)bio->cb_arg; | 125 | b=(BIO *)bio->cb_arg; |
| 131 | if (b != NULL) | 126 | if (b != NULL) |
| 132 | BIO_write(b,buf,strlen(buf)); | 127 | BIO_write(b,buf,strlen(buf)); |
| 133 | #if !defined(NO_STDIO) && !defined(WIN16) | 128 | #if !defined(OPENSSL_NO_STDIO) && !defined(OPENSSL_SYS_WIN16) |
| 134 | else | 129 | else |
| 135 | fputs(buf,stderr); | 130 | fputs(buf,stderr); |
| 136 | #endif | 131 | #endif |
