diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/x509v3/v3_utl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/x509v3/v3_utl.c b/crypto/x509v3/v3_utl.c index 1b24b42f..f0ecc46c 100644 --- a/crypto/x509v3/v3_utl.c +++ b/crypto/x509v3/v3_utl.c @@ -925,9 +925,6 @@ static int do_x509_check(X509 *x, const char *chk, size_t chklen, equal = equal_case; } - if (chklen == 0) - chklen = strlen(chk); - gens = X509_get_ext_d2i(x, NID_subject_alt_name, NULL, NULL); if (gens) { |