diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_trs.c')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_trs.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/x509/x509_trs.c b/src/lib/libcrypto/x509/x509_trs.c index 651dc82a52..1a60e5a3cf 100644 --- a/src/lib/libcrypto/x509/x509_trs.c +++ b/src/lib/libcrypto/x509/x509_trs.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_trs.c,v 1.23 2018/05/18 18:40:38 tb Exp $ */ | 1 | /* $OpenBSD: x509_trs.c,v 1.24 2021/07/23 20:50:28 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 1999. | 3 | * project 1999. |
| 4 | */ | 4 | */ |
| @@ -265,10 +265,6 @@ trtable_free(X509_TRUST *p) | |||
| 265 | void | 265 | void |
| 266 | X509_TRUST_cleanup(void) | 266 | X509_TRUST_cleanup(void) |
| 267 | { | 267 | { |
| 268 | unsigned int i; | ||
| 269 | |||
| 270 | for (i = 0; i < X509_TRUST_COUNT; i++) | ||
| 271 | trtable_free(trstandard + i); | ||
| 272 | sk_X509_TRUST_pop_free(trtable, trtable_free); | 268 | sk_X509_TRUST_pop_free(trtable, trtable_free); |
| 273 | trtable = NULL; | 269 | trtable = NULL; |
| 274 | } | 270 | } |
