diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-10-21 12:03:04 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-10-21 12:03:04 -0400 |
commit | f217b24e051af2046ff03cb64fd9345967e777dd (patch) | |
tree | bd998722c5bbcb1e74d503efb3c1706bdeaa2ca8 /src | |
parent | 895a98dbaf9619c8a24ef872bfeca84a764a6ccb (diff) | |
parent | 4fb49069753c37a2425427864212bc3a1f49d980 (diff) | |
download | tor-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.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); |