mirror of
https://github.com/openssl/openssl.git
synced 2025-04-18 20:40:45 +08:00
Remove pointless free loop in X509_TRUST_cleanup()
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1194)
This commit is contained in:
parent
fa3a0286d1
commit
5e6e650d62
@ -194,9 +194,6 @@ static void trtable_free(X509_TRUST *p)
|
||||
|
||||
void X509_TRUST_cleanup(void)
|
||||
{
|
||||
unsigned int i;
|
||||
for (i = 0; i < X509_TRUST_COUNT; i++)
|
||||
trtable_free(trstandard + i);
|
||||
sk_X509_TRUST_pop_free(trtable, trtable_free);
|
||||
trtable = NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user