summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/tortls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index b597fe2331..536043e558 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -2523,7 +2523,7 @@ dn_indicates_v3_cert(X509_NAME *name)
return 0;
if (len < 4) {
OPENSSL_free(s);
- return 0;
+ return 1;
}
r = fast_memneq(s + len - 4, ".net", 4);
OPENSSL_free(s);