mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Merge remote-tracking branch 'public/bug17404_024' into maint-0.2.7
This commit is contained in:
commit
4fb4906975
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user