]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add OSSL_CMP_CTX_get0_validatedSrvCert(), correcting OSSL_CMP_validate_msg()
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Tue, 14 Dec 2021 10:29:19 +0000 (11:29 +0100)
committerDr. David von Oheimb <dev@ddvo.net>
Wed, 20 Jul 2022 09:40:37 +0000 (11:40 +0200)
commitb6fbef1159c9aeb1590c116a9426e169d2203506
treefa6a73df8d5bd7fb5357966a96c3c34dddcbb358
parentfad0f80eff188ef938fed614245a56ed56110deb
Add OSSL_CMP_CTX_get0_validatedSrvCert(), correcting OSSL_CMP_validate_msg()

Also change ossl_cmp_ctx_set0_validatedSrvCert() to ossl_cmp_ctx_set1_validatedSrvCert(),
and add respective tests as well as the -srvcertout CLI option using the new function.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/18656)
apps/cmp.c
crypto/cmp/cmp_ctx.c
crypto/cmp/cmp_local.h
crypto/cmp/cmp_vfy.c
doc/man1/openssl-cmp.pod.in
doc/man3/OSSL_CMP_CTX_new.pod
include/openssl/cmp.h.in
test/cmp_ctx_test.c
test/cmp_vfy_test.c
util/libcrypto.num