diff options
author | Alex Chernyakhovsky <achernya@google.com> | 2014-07-04 18:47:48 -0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-07-07 19:30:35 +0000 |
commit | 2897ed36347fa436f6108897862251567e23110e (patch) | |
tree | cd94cde35fe43a5a420e43f848cb33a247425651 /crypto/x509/t_x509.c | |
parent | 8af663956519f7302284c0c36b413c0495986e14 (diff) | |
download | boringssl-2897ed36347fa436f6108897862251567e23110e.zip boringssl-2897ed36347fa436f6108897862251567e23110e.tar.gz boringssl-2897ed36347fa436f6108897862251567e23110e.tar.bz2 |
Remove CHARSET_EBCDIC
Since crypto/ebcdic.{c,h} are not present in BoringSSL, remove the #ifdefs
Changes were made by running
find . -type f -name *.c | xargs unifdef -m -U CHARSET_EBCDIC
find . -type f -name *.h | xargs unifdef -m -U CHARSET_EBCDIC
using unifdef 2.10.
An additional two ifdefs (CHARSET_EBCDIC_not) were removed manually.
Change-Id: Ie174bb00782cc44c63b0f9fab69619b3a9f66d42
Reviewed-on: https://boringssl-review.googlesource.com/1093
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/x509/t_x509.c')
-rw-r--r-- | crypto/x509/t_x509.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/crypto/x509/t_x509.c b/crypto/x509/t_x509.c index 91d4ac7..91a52de 100644 --- a/crypto/x509/t_x509.c +++ b/crypto/x509/t_x509.c @@ -473,7 +473,6 @@ int X509_NAME_print(BIO *bp, X509_NAME *name, int obase) c=s; for (;;) { -#ifndef CHARSET_EBCDIC if ( ((*s == '/') && ((s[1] >= 'A') && (s[1] <= 'Z') && ( (s[2] == '=') || @@ -481,15 +480,6 @@ int X509_NAME_print(BIO *bp, X509_NAME *name, int obase) (s[3] == '=')) ))) || (*s == '\0')) -#else - if ( ((*s == '/') && - (isupper(s[1]) && ( - (s[2] == '=') || - (isupper(s[2]) && - (s[3] == '=')) - ))) || - (*s == '\0')) -#endif { i=s-c; if (BIO_write(bp,c,i) != i) goto err; |