diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/t_x509.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/t_x509.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/libcrypto/asn1/t_x509.c b/src/lib/libcrypto/asn1/t_x509.c index edbb39a02f..bbf00c7a29 100644 --- a/src/lib/libcrypto/asn1/t_x509.c +++ b/src/lib/libcrypto/asn1/t_x509.c | |||
| @@ -485,7 +485,6 @@ int X509_NAME_print(BIO *bp, X509_NAME *name, int obase) | |||
| 485 | c=s; | 485 | c=s; |
| 486 | for (;;) | 486 | for (;;) |
| 487 | { | 487 | { |
| 488 | #ifndef CHARSET_EBCDIC | ||
| 489 | if ( ((*s == '/') && | 488 | if ( ((*s == '/') && |
| 490 | ((s[1] >= 'A') && (s[1] <= 'Z') && ( | 489 | ((s[1] >= 'A') && (s[1] <= 'Z') && ( |
| 491 | (s[2] == '=') || | 490 | (s[2] == '=') || |
| @@ -493,15 +492,6 @@ int X509_NAME_print(BIO *bp, X509_NAME *name, int obase) | |||
| 493 | (s[3] == '=')) | 492 | (s[3] == '=')) |
| 494 | ))) || | 493 | ))) || |
| 495 | (*s == '\0')) | 494 | (*s == '\0')) |
| 496 | #else | ||
| 497 | if ( ((*s == '/') && | ||
| 498 | (isupper(s[1]) && ( | ||
| 499 | (s[2] == '=') || | ||
| 500 | (isupper(s[2]) && | ||
| 501 | (s[3] == '=')) | ||
| 502 | ))) || | ||
| 503 | (*s == '\0')) | ||
| 504 | #endif | ||
| 505 | { | 495 | { |
| 506 | i=s-c; | 496 | i=s-c; |
| 507 | if (BIO_write(bp,c,i) != i) goto err; | 497 | if (BIO_write(bp,c,i) != i) goto err; |
