[openssl/openssl] b6fbef: Add OSSL_CMP_CTX_get0_validatedSrvCert(), correcti...

David von Oheimb noreply at reply.github.openssl.org
Wed Jul 20 09:41:30 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: b6fbef1159c9aeb1590c116a9426e169d2203506
      https://github.openssl.org/openssl/openssl/commit/b6fbef1159c9aeb1590c116a9426e169d2203506
  Author: Dr. David von Oheimb <David.von.Oheimb at siemens.com>
  Date:   2022-07-20 (Wed, 20 Jul 2022)

  Changed paths:
    M apps/cmp.c
    M crypto/cmp/cmp_ctx.c
    M crypto/cmp/cmp_local.h
    M crypto/cmp/cmp_vfy.c
    M doc/man1/openssl-cmp.pod.in
    M doc/man3/OSSL_CMP_CTX_new.pod
    M include/openssl/cmp.h.in
    M test/cmp_ctx_test.c
    M test/cmp_vfy_test.c
    M util/libcrypto.num

  Log Message:
  -----------
  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 at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb at siemens.com>
(Merged from https://github.com/openssl/openssl/pull/18656)




More information about the openssl-commits mailing list