X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fbio%2Fb_dump.c;h=c80ecc4295322fe8872f940c2d88b4fb82bcf4c3;hp=a07b79437f3f8cac1da617118b51c7130ea9f6af;hb=ea1b02db6ab4864befde88ed03099f075cf7db76;hpb=2c4b354d32b1f34314f1a3ebeee0d0fcfb7505a0;ds=sidebyside diff --git a/crypto/bio/b_dump.c b/crypto/bio/b_dump.c index a07b79437f..c80ecc4295 100644 --- a/crypto/bio/b_dump.c +++ b/crypto/bio/b_dump.c @@ -62,7 +62,7 @@ #include #include "cryptlib.h" -#include +#include "bio_lcl.h" #define TRUNCATE #define DUMP_WIDTH 16 @@ -160,7 +160,7 @@ int BIO_dump_indent_cb(int (*cb)(const void *data, size_t len, void *u), #ifndef OPENSSL_NO_FP_API static int write_fp(const void *data, size_t len, void *fp) { - return fwrite(data, len, 1, (FILE *)fp); + return UP_fwrite(data, len, 1, fp); } int BIO_dump_fp(FILE *fp, const char *s, int len) {