diff options
author | 2014-04-15 17:46:16 +0000 | |
---|---|---|
committer | 2014-04-15 17:46:16 +0000 | |
commit | b4148b700a1c8f291abcf64c42ac3229f9827ca7 (patch) | |
tree | 157ab6b25c416ae3585d10a00df3c301d6bc4d95 /lib/libssl/src/crypto/asn1/f_string.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/libssl/src/crypto/asn1/f_string.c')
-rw-r--r-- | lib/libssl/src/crypto/asn1/f_string.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/libssl/src/crypto/asn1/f_string.c b/lib/libssl/src/crypto/asn1/f_string.c index 968698a7988..f7d36adac79 100644 --- a/lib/libssl/src/crypto/asn1/f_string.c +++ b/lib/libssl/src/crypto/asn1/f_string.c @@ -123,18 +123,9 @@ int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size) for (j=i-1; j>0; j--) { -#ifndef CHARSET_EBCDIC if (!( ((buf[j] >= '0') && (buf[j] <= '9')) || ((buf[j] >= 'a') && (buf[j] <= 'f')) || ((buf[j] >= 'A') && (buf[j] <= 'F')))) -#else - /* This #ifdef is not strictly necessary, since - * the characters A...F a...f 0...9 are contiguous - * (yes, even in EBCDIC - but not the whole alphabet). - * Nevertheless, isxdigit() is faster. - */ - if (!isxdigit(buf[j])) -#endif { i=j; break; |