Merge remote-tracking branch 'public/bug17404_024' into maint-0.2.7

This commit is contained in:
Nick Mathewson 2015-10-21 12:02:42 -04:00
commit 4fb4906975

View File

@ -2523,7 +2523,7 @@ dn_indicates_v3_cert(X509_NAME *name)
return 0; return 0;
if (len < 4) { if (len < 4) {
OPENSSL_free(s); OPENSSL_free(s);
return 0; return 1;
} }
r = fast_memneq(s + len - 4, ".net", 4); r = fast_memneq(s + len - 4, ".net", 4);
OPENSSL_free(s); OPENSSL_free(s);