diff options
author | miod <> | 2014-04-16 19:54:20 +0000 |
---|---|---|
committer | miod <> | 2014-04-16 19:54:20 +0000 |
commit | be77aa550ef0450b00eb62880d4d98112ba86e50 (patch) | |
tree | 799ff7dd46104d5141090fe09459d15d959fc827 /src/lib/libcrypto/bio/b_dump.c | |
parent | 5fb0ca0ddf59f49b49200128095fb2d4a1577020 (diff) | |
download | openbsd-be77aa550ef0450b00eb62880d4d98112ba86e50.tar.gz openbsd-be77aa550ef0450b00eb62880d4d98112ba86e50.tar.bz2 openbsd-be77aa550ef0450b00eb62880d4d98112ba86e50.zip |
- Why do we hide from the OpenSSL police, dad?
- Because they're not like us, son. They use macros to wrap stdio routines,
for an undocumented (OPENSSL_USE_APPLINK) use case, which only serves to
obfuscate the code.
ok tedu@
Diffstat (limited to 'src/lib/libcrypto/bio/b_dump.c')
-rw-r--r-- | src/lib/libcrypto/bio/b_dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bio/b_dump.c b/src/lib/libcrypto/bio/b_dump.c index 090cfc2b5f..ff75069df8 100644 --- a/src/lib/libcrypto/bio/b_dump.c +++ b/src/lib/libcrypto/bio/b_dump.c | |||
@@ -62,7 +62,7 @@ | |||
62 | 62 | ||
63 | #include <stdio.h> | 63 | #include <stdio.h> |
64 | #include "cryptlib.h" | 64 | #include "cryptlib.h" |
65 | #include "bio_lcl.h" | 65 | #include <openssl/bio.h> |
66 | 66 | ||
67 | #define TRUNCATE | 67 | #define TRUNCATE |
68 | #define DUMP_WIDTH 16 | 68 | #define DUMP_WIDTH 16 |
@@ -149,7 +149,7 @@ BIO_dump_indent_cb(int (*cb)(const void *data, size_t len, void *u), | |||
149 | static int | 149 | static int |
150 | write_fp(const void *data, size_t len, void *fp) | 150 | write_fp(const void *data, size_t len, void *fp) |
151 | { | 151 | { |
152 | return UP_fwrite(data, len, 1, fp); | 152 | return fwrite(data, len, 1, fp); |
153 | } | 153 | } |
154 | 154 | ||
155 | int | 155 | int |