Fix indent comment corruption issue
[openssl.git] / crypto / bio / b_dump.c
index a07b79437f3f8cac1da617118b51c7130ea9f6af..c80ecc4295322fe8872f940c2d88b4fb82bcf4c3 100644 (file)
@@ -62,7 +62,7 @@
 
 #include <stdio.h>
 #include "cryptlib.h"
-#include <openssl/bio.h>
+#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)
        {