From 74107c4428edbe8d6797ac6a700e0ea2c9e14952 Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Fri, 6 Aug 2021 11:45:13 +0200 Subject: CMP: implement optional hashAlg field of certConf CMPv3 message Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/18294) --- crypto/cmp/cmp_local.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crypto/cmp/cmp_local.h') diff --git a/crypto/cmp/cmp_local.h b/crypto/cmp/cmp_local.h index 07a8c8eab2..255eb58ba6 100644 --- a/crypto/cmp/cmp_local.h +++ b/crypto/cmp/cmp_local.h @@ -369,13 +369,15 @@ DECLARE_ASN1_FUNCTIONS(OSSL_CMP_ERRORMSGCONTENT) * -- as is used to create and verify the certificate signature * certReqId INTEGER, * -- to match this confirmation with the corresponding req/rep - * statusInfo PKIStatusInfo OPTIONAL + * statusInfo PKIStatusInfo OPTIONAL, + * hashAlg [0] AlgorithmIdentifier OPTIONAL * } */ struct ossl_cmp_certstatus_st { ASN1_OCTET_STRING *certHash; ASN1_INTEGER *certReqId; OSSL_CMP_PKISI *statusInfo; + X509_ALGOR *hashAlg; /* 0 */ } /* OSSL_CMP_CERTSTATUS */; DECLARE_ASN1_FUNCTIONS(OSSL_CMP_CERTSTATUS) typedef STACK_OF(OSSL_CMP_CERTSTATUS) OSSL_CMP_CERTCONFIRMCONTENT; -- cgit v1.2.3