summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTomas Mraz <tmraz@fedoraproject.org>2021-01-19 14:56:16 +0100
committerTomas Mraz <tmraz@fedoraproject.org>2021-01-19 15:45:34 +0100
commit69b3a65adeb1a997b1d5c7f28cda45c543de956d (patch)
tree5a2a6e005398ae44eac783616010442ba45305f1 /test
parenta83690c0b61e342f35a9583868b74e7ff6023101 (diff)
Fix regression in no-deprecated build
Also add a new no-deprecated CI build to test it. Fixes #13896 Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/13902)
Diffstat (limited to 'test')
-rw-r--r--test/verify_extra_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/verify_extra_test.c b/test/verify_extra_test.c
index 94faa4c78b..18f785ab8b 100644
--- a/test/verify_extra_test.c
+++ b/test/verify_extra_test.c
@@ -200,7 +200,7 @@ static int test_self_signed(const char *filename, int expected)
ret = TEST_ptr(cert)
&& TEST_true(sk_X509_push(trusted, cert))
&& TEST_true(X509_STORE_CTX_init(ctx, NULL, cert, NULL));
- X509_STORE_CTX_trusted_stack(ctx, trusted);
+ X509_STORE_CTX_set0_trusted_stack(ctx, trusted);
ret = ret && TEST_int_eq(X509_verify_cert(ctx), expected);
X509_STORE_CTX_free(ctx);