diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_purp.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/x509/x509_purp.c b/src/lib/libcrypto/x509/x509_purp.c index c81e043f9d..aff9f607bc 100644 --- a/src/lib/libcrypto/x509/x509_purp.c +++ b/src/lib/libcrypto/x509/x509_purp.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_purp.c,v 1.4 2021/03/19 18:52:14 tb Exp $ */ | 1 | /* $OpenBSD: x509_purp.c,v 1.5 2021/07/23 20:40:49 schwarze Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2001. | 3 | * project 2001. |
| 4 | */ | 4 | */ |
| @@ -295,11 +295,7 @@ xptable_free(X509_PURPOSE *p) | |||
| 295 | void | 295 | void |
| 296 | X509_PURPOSE_cleanup(void) | 296 | X509_PURPOSE_cleanup(void) |
| 297 | { | 297 | { |
| 298 | unsigned int i; | ||
| 299 | |||
| 300 | sk_X509_PURPOSE_pop_free(xptable, xptable_free); | 298 | sk_X509_PURPOSE_pop_free(xptable, xptable_free); |
| 301 | for(i = 0; i < X509_PURPOSE_COUNT; i++) | ||
| 302 | xptable_free(xstandard + i); | ||
| 303 | xptable = NULL; | 299 | xptable = NULL; |
| 304 | } | 300 | } |
| 305 | 301 | ||
