mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge remote-tracking branch 'origin/maint-0.2.7'
This commit is contained in:
@@ -2456,6 +2456,10 @@ dn_indicates_v3_cert(X509_NAME *name)
|
||||
if (len < 0) {
|
||||
return 0;
|
||||
}
|
||||
if (len < 4) {
|
||||
OPENSSL_free(s);
|
||||
return 0;
|
||||
}
|
||||
r = fast_memneq(s + len - 4, ".net", 4);
|
||||
OPENSSL_free(s);
|
||||
return r;
|
||||
|
||||
Reference in New Issue
Block a user