diff options
author | Kurt Cancemi <kurt@x64architecture.com> | 2016-06-09 21:57:36 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-06-20 09:58:58 -0400 |
commit | 5e6e650d62af09f47d63bfdd6c92e3b16e9da644 (patch) | |
tree | 86ff48d2057708c0934653bf4d63a2b5b74ea242 /crypto/x509/x509_trs.c | |
parent | fa3a0286d178eb3b87bf2eb5fd7af40f81453314 (diff) |
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)
Diffstat (limited to 'crypto/x509/x509_trs.c')
-rw-r--r-- | crypto/x509/x509_trs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/x509/x509_trs.c b/crypto/x509/x509_trs.c index f7d89bfd83..a9bb88d1e1 100644 --- a/crypto/x509/x509_trs.c +++ b/crypto/x509/x509_trs.c @@ -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; } |