aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorKurt Cancemi <kurt@x64architecture.com>2016-06-08 19:15:38 -0400
committerRich Salz <rsalz@openssl.org>2016-06-20 09:58:58 -0400
commitfa3a0286d178eb3b87bf2eb5fd7af40f81453314 (patch)
treed3f9f23662a84a573c45bcf31ca6ad29ca3fd309 /crypto
parent14f4656058e8ddbcf1d510bc73670250ed0e10c0 (diff)
downloadopenssl-fa3a0286d178eb3b87bf2eb5fd7af40f81453314.tar.gz
Remove pointless free loop in X509_PURPOSE_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')
-rw-r--r--crypto/x509v3/v3_purp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/x509v3/v3_purp.c b/crypto/x509v3/v3_purp.c
index ab3fd7e6b0..fff099474e 100644
--- a/crypto/x509v3/v3_purp.c
+++ b/crypto/x509v3/v3_purp.c
@@ -229,10 +229,7 @@ static void xptable_free(X509_PURPOSE *p)
void X509_PURPOSE_cleanup(void)
{
- unsigned int i;
sk_X509_PURPOSE_pop_free(xptable, xptable_free);
- for (i = 0; i < X509_PURPOSE_COUNT; i++)
- xptable_free(xstandard + i);
xptable = NULL;
}