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 /apps/cmp_mock_srv.c | |
parent | 7b1a3a506273bc043cefd7c2202300a9bf81daa0 (diff) |
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 'apps/cmp_mock_srv.c')
-rw-r--r-- | apps/cmp_mock_srv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/cmp_mock_srv.c b/apps/cmp_mock_srv.c index c63e5f9943..3a0819008b 100644 --- a/apps/cmp_mock_srv.c +++ b/apps/cmp_mock_srv.c @@ -388,9 +388,9 @@ static int process_pollReq(OSSL_CMP_SRV_CTX *srv_ctx, return 1; } -OSSL_CMP_SRV_CTX *ossl_cmp_mock_srv_new(void) +OSSL_CMP_SRV_CTX *ossl_cmp_mock_srv_new(OPENSSL_CTX *libctx, const char *propq) { - OSSL_CMP_SRV_CTX *srv_ctx = OSSL_CMP_SRV_CTX_new(); + OSSL_CMP_SRV_CTX *srv_ctx = OSSL_CMP_SRV_CTX_new(libctx, propq); mock_srv_ctx *ctx = mock_srv_ctx_new(); if (srv_ctx != NULL && ctx != NULL |