diff options
Diffstat (limited to 'lib/libssl/src/crypto/x509v3/v3_utl.c')
-rw-r--r-- | lib/libssl/src/crypto/x509v3/v3_utl.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libssl/src/crypto/x509v3/v3_utl.c b/lib/libssl/src/crypto/x509v3/v3_utl.c index bf6f81a5e9b..4f4dc15221e 100644 --- a/lib/libssl/src/crypto/x509v3/v3_utl.c +++ b/lib/libssl/src/crypto/x509v3/v3_utl.c @@ -468,10 +468,8 @@ string_to_hex(const char *str, long *len) free(hexbuf); return NULL; } - if (isupper(ch)) - ch = tolower(ch); - if (isupper(cl)) - cl = tolower(cl); + ch = tolower(ch); + cl = tolower(cl); if ((ch >= '0') && (ch <= '9')) ch -= '0'; |