OSSL_CMP_CTX_reinit(): fix missing reset of ctx->genm_ITAVs
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Wed, 14 Sep 2022 15:37:27 +0000 (17:37 +0200)
committerDr. David von Oheimb <dev@ddvo.net>
Fri, 25 Nov 2022 08:29:58 +0000 (09:29 +0100)
commitb3d29175f7046b51b20ab4c78d2e5f7611ea6bce
treed79dca8fef3914890eefa3562b9048dbbe6dae4b
parentf494a5c2fe7e1b0ea11c6785f4357c240b395cf7
OSSL_CMP_CTX_reinit(): fix missing reset of ctx->genm_ITAVs

Otherwise, further OSSL_CMP_exec_GENM_ses() calls will go wrong.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/19216)

(cherry picked from commit 1c04866c671db4a6db0a1784399b351ea061bc16)
apps/lib/cmp_mock_srv.c
crypto/cmp/cmp_ctx.c
doc/man3/OSSL_CMP_CTX_new.pod
test/cmp_client_test.c