diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-10-21 12:02:42 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-10-21 12:02:42 -0400 |
commit | 4fb49069753c37a2425427864212bc3a1f49d980 (patch) | |
tree | 66fc5efe6aeb607c625a316fef7bd5fbc9c53902 /src/common/tortls.c | |
parent | b809c265e77f4528b59aa3932a3cde8bf5e19fb3 (diff) | |
parent | 9459ae260e3ae428283c3b45d08aaef6ef9f6fa3 (diff) | |
download | tor-4fb49069753c37a2425427864212bc3a1f49d980.tar.gz tor-4fb49069753c37a2425427864212bc3a1f49d980.zip |
Merge remote-tracking branch 'public/bug17404_024' into maint-0.2.7
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 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); |