diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-05-13 09:28:24 +0200 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-08-21 09:04:11 +0200 |
commit | 1a7cd250ad55a3c9d684a7259c20ea8075c2b08b (patch) | |
tree | a0b9578bdfbe5d577a9077a33a631d480be42c74 /test/cmp_vfy_test.c | |
parent | 7b1a3a506273bc043cefd7c2202300a9bf81daa0 (diff) | |
download | openssl-1a7cd250ad55a3c9d684a7259c20ea8075c2b08b.zip openssl-1a7cd250ad55a3c9d684a7259c20ea8075c2b08b.tar.gz openssl-1a7cd250ad55a3c9d684a7259c20ea8075c2b08b.tar.bz2 |
Add libctx and propq parameters to OSSL_CMP_{SRV_},CTX_new() and ossl_cmp_mock_srv_new()
Also remove not really to-the-point error message if call fails in apps/cmp.c
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11808)
Diffstat (limited to 'test/cmp_vfy_test.c')
-rw-r--r-- | test/cmp_vfy_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cmp_vfy_test.c b/test/cmp_vfy_test.c index 4c705f6..8d654c6 100644 --- a/test/cmp_vfy_test.c +++ b/test/cmp_vfy_test.c @@ -56,7 +56,7 @@ static CMP_VFY_TEST_FIXTURE *set_up(const char *const test_case_name) return NULL; fixture->test_case_name = test_case_name; if (ts == NULL - || !TEST_ptr(fixture->cmp_ctx = OSSL_CMP_CTX_new()) + || !TEST_ptr(fixture->cmp_ctx = OSSL_CMP_CTX_new(NULL, NULL)) || !OSSL_CMP_CTX_set0_trustedStore(fixture->cmp_ctx, ts) || !OSSL_CMP_CTX_set_log_cb(fixture->cmp_ctx, print_to_bio_out)) { tear_down(fixture); |