diff options
author | 2014-04-15 17:46:16 +0000 | |
---|---|---|
committer | 2014-04-15 17:46:16 +0000 | |
commit | b4148b700a1c8f291abcf64c42ac3229f9827ca7 (patch) | |
tree | 157ab6b25c416ae3585d10a00df3c301d6bc4d95 /lib/libcrypto/evp/encode.c | |
parent | - get the spacing right for -e, -i, -n, and -s (diff) | |
download | wireguard-openbsd-b4148b700a1c8f291abcf64c42ac3229f9827ca7.tar.xz wireguard-openbsd-b4148b700a1c8f291abcf64c42ac3229f9827ca7.zip |
Send the rotIBM stream cipher (ebcdic) to Valhalla to party for eternity
with the bearded ones...
some API's that nobody should be using will dissapear with this commit.
Diffstat (limited to 'lib/libcrypto/evp/encode.c')
-rw-r--r-- | lib/libcrypto/evp/encode.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/libcrypto/evp/encode.c b/lib/libcrypto/evp/encode.c index 28546a84bc2..7af9a2780b3 100644 --- a/lib/libcrypto/evp/encode.c +++ b/lib/libcrypto/evp/encode.c @@ -60,19 +60,8 @@ #include "cryptlib.h" #include <openssl/evp.h> -#ifndef CHARSET_EBCDIC #define conv_bin2ascii(a) (data_bin2ascii[(a)&0x3f]) #define conv_ascii2bin(a) (data_ascii2bin[(a)&0x7f]) -#else -/* We assume that PEM encoded files are EBCDIC files - * (i.e., printable text files). Convert them here while decoding. - * When encoding, output is EBCDIC (text) format again. - * (No need for conversion in the conv_bin2ascii macro, as the - * underlying textstring data_bin2ascii[] is already EBCDIC) - */ -#define conv_bin2ascii(a) (data_bin2ascii[(a)&0x3f]) -#define conv_ascii2bin(a) (data_ascii2bin[os_toascii[a]&0x7f]) -#endif /* 64 char lines * pad input with 0 |