diff options
Diffstat (limited to 'test/cmp_testlib.c')
-rw-r--r-- | test/cmp_testlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cmp_testlib.c b/test/cmp_testlib.c index 7a8570afeb..ee6f91a951 100644 --- a/test/cmp_testlib.c +++ b/test/cmp_testlib.c @@ -35,7 +35,7 @@ X509 *load_pem_cert(const char *file, OPENSSL_CTX *libctx) if (!TEST_ptr(bio = BIO_new(BIO_s_file()))) return NULL; if (TEST_int_gt(BIO_read_filename(bio, file), 0) - && TEST_ptr(cert = X509_new_with_libctx(libctx, NULL))) + && TEST_ptr(cert = X509_new_ex(libctx, NULL))) (void)TEST_ptr(cert = PEM_read_bio_X509(bio, &cert, NULL, NULL)); BIO_free(bio); |