summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-10-21 12:03:04 -0400
committerNick Mathewson <nickm@torproject.org>2015-10-21 12:03:04 -0400
commitf217b24e051af2046ff03cb64fd9345967e777dd (patch)
treebd998722c5bbcb1e74d503efb3c1706bdeaa2ca8 /src
parent895a98dbaf9619c8a24ef872bfeca84a764a6ccb (diff)
parent4fb49069753c37a2425427864212bc3a1f49d980 (diff)
downloadtor-f217b24e051af2046ff03cb64fd9345967e777dd.tar.gz
tor-f217b24e051af2046ff03cb64fd9345967e777dd.zip
Merge remote-tracking branch 'origin/maint-0.2.7'
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 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);