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:
Kurt Cancemi 2016-06-09 21:57:36 -04:00 committed by Rich Salz
parent fa3a0286d1
commit 5e6e650d62

View File

@ -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;
}