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/bio_lcl.h | |
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/bio_lcl.h')
-rw-r--r-- | src/lib/libcrypto/bio/bio_lcl.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/lib/libcrypto/bio/bio_lcl.h b/src/lib/libcrypto/bio/bio_lcl.h deleted file mode 100644 index cc89c1bf2d..0000000000 --- a/src/lib/libcrypto/bio/bio_lcl.h +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | #include <openssl/bio.h> | ||
2 | |||
3 | #if BIO_FLAGS_UPLINK==0 | ||
4 | /* Shortcut UPLINK calls on most platforms... */ | ||
5 | #define UP_stdin stdin | ||
6 | #define UP_stdout stdout | ||
7 | #define UP_stderr stderr | ||
8 | #define UP_fprintf fprintf | ||
9 | #define UP_fgets fgets | ||
10 | #define UP_fread fread | ||
11 | #define UP_fwrite fwrite | ||
12 | #undef UP_fsetmod | ||
13 | #define UP_feof feof | ||
14 | #define UP_fclose fclose | ||
15 | |||
16 | #define UP_fopen fopen | ||
17 | #define UP_fseek fseek | ||
18 | #define UP_ftell ftell | ||
19 | #define UP_fflush fflush | ||
20 | #define UP_ferror ferror | ||
21 | #define UP_fileno fileno | ||
22 | #define UP_open open | ||
23 | #define UP_read read | ||
24 | #define UP_write write | ||
25 | #define UP_lseek lseek | ||
26 | #define UP_close close | ||
27 | #endif | ||