mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
Fix the return value
This commit is contained in:
parent
35bf07b8d6
commit
9459ae260e
@ -2678,7 +2678,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);
|
||||
|
Loading…
Reference in New Issue
Block a user