summaryrefslogtreecommitdiff
path: root/engines/e_loader_attic.c
diff options
context:
space:
mode:
Diffstat (limited to 'engines/e_loader_attic.c')
-rw-r--r--engines/e_loader_attic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/e_loader_attic.c b/engines/e_loader_attic.c
index e675b006a8..e2a5474c1c 100644
--- a/engines/e_loader_attic.c
+++ b/engines/e_loader_attic.c
@@ -375,7 +375,7 @@ static OSSL_STORE_INFO *try_decode_PKCS12(const char *pem_name,
}
EVP_PKEY_free(pkey);
X509_free(cert);
- sk_X509_pop_free(chain, X509_free);
+ OSSL_STACK_OF_X509_free(chain);
store_info_free(osi_pkey);
store_info_free(osi_cert);
store_info_free(osi_ca);