diff options
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r-- | src/common/tortls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index d8635675f8..2a2a5d7fd1 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -2458,7 +2458,7 @@ dn_indicates_v3_cert(X509_NAME *name) } if (len < 4) { OPENSSL_free(s); - return 0; + return 1; } r = fast_memneq(s + len - 4, ".net", 4); OPENSSL_free(s); |