diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2023-02-01 15:50:54 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-02-08 17:05:47 +0100 |
commit | 6f88876d4ea66d1f0b9217fec18b9dcc760a451a (patch) | |
tree | 9a90035ac1c20a3d9149091f00e8f6dc2838e301 /apps/cmp.c | |
parent | ossl_cmp_mock_srv_new.pod: correct/update names of internal test support func... (diff) | |
download | openssl-6f88876d4ea66d1f0b9217fec18b9dcc760a451a.tar.xz openssl-6f88876d4ea66d1f0b9217fec18b9dcc760a451a.zip |
cmp_client_test.c: add tests for errors reported by server on subsequent requests in a transaction
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20190)
Diffstat (limited to 'apps/cmp.c')
-rw-r--r-- | apps/cmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/cmp.c b/apps/cmp.c index a7874876d1..00e8be63d1 100644 --- a/apps/cmp.c +++ b/apps/cmp.c @@ -1109,7 +1109,7 @@ static OSSL_CMP_SRV_CTX *setup_srv_ctx(ENGINE *engine) goto err; if (opt_send_error) - (void)ossl_cmp_mock_srv_set_send_error(srv_ctx, 1); + (void)ossl_cmp_mock_srv_set_sendError(srv_ctx, 1); if (opt_send_unprotected) (void)OSSL_CMP_CTX_set_option(ctx, OSSL_CMP_OPT_UNPROTECTED_SEND, 1); |