Move part of OSSL_CMP_validate_msg() to ossl_cmp_msg_check_update()
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Fri, 29 May 2020 15:14:14 +0000 (17:14 +0200)
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>
Sat, 13 Jun 2020 13:13:21 +0000 (15:13 +0200)
commitc4a9e3ebbbbc2dc371b4fea5fa62120ed14ecaa7
treef38ee0f3448b660e89366b35fb4d5fb992241d08
parent7e8dbb74620ac4420ad4d3adca51ce1b9a3e114c
Move part of OSSL_CMP_validate_msg() to ossl_cmp_msg_check_update()

as checking expected_sender and adding caPubs is not part of msg validation.
Also constify a couple of internal and public functions related to cmp_vfy.c

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11998)
crypto/cmp/cmp_ctx.c
crypto/cmp/cmp_vfy.c
doc/internal/man3/ossl_cmp_msg_check_update.pod
doc/man3/OSSL_CMP_CTX_new.pod
doc/man3/OSSL_CMP_validate_msg.pod
include/openssl/cmp.h
test/cmp_vfy_test.c