diff options
Diffstat (limited to 'test/testutil/load.c')
-rw-r--r-- | test/testutil/load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testutil/load.c b/test/testutil/load.c index d776a7f167..982e0a39a9 100644 --- a/test/testutil/load.c +++ b/test/testutil/load.c @@ -49,7 +49,7 @@ STACK_OF(X509) *load_certs_pem(const char *file) do { x = PEM_read_bio_X509(bio, NULL, 0, NULL); if (x != NULL && !sk_X509_push(certs, x)) { - sk_X509_pop_free(certs, X509_free); + OSSL_STACK_OF_X509_free(certs); BIO_free(bio); return NULL; } else if (x == NULL) { |