From: Dr. David von Oheimb Date: Wed, 1 Feb 2023 14:39:52 +0000 (+0100) Subject: cmp_ctx.c: fix wrong comments on OSSL_CMP_CTX_set1_{recipient,issuer} X-Git-Tag: openssl-3.2.0-alpha1~1289 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c29fa21a7983862f0bd4744523ffee61f17ca22;p=thirdparty%2Fopenssl.git cmp_ctx.c: fix wrong comments on OSSL_CMP_CTX_set1_{recipient,issuer} Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/20190) --- diff --git a/crypto/cmp/cmp_ctx.c b/crypto/cmp/cmp_ctx.c index dcad9c89415..fe26f92bcc7 100644 --- a/crypto/cmp/cmp_ctx.c +++ b/crypto/cmp/cmp_ctx.c @@ -602,13 +602,13 @@ DEFINE_OSSL_set1_up_ref(ossl_cmp_ctx, validatedSrvCert, X509) */ DEFINE_OSSL_set1_up_ref(OSSL_CMP_CTX, srvCert, X509) -/* Set the X509 name of the recipient. Set in the PKIHeader */ +/* Set the X509 name of the recipient to be placed in the PKIHeader */ DEFINE_OSSL_CMP_CTX_set1(recipient, X509_NAME) /* Store the X509 name of the expected sender in the PKIHeader of responses */ DEFINE_OSSL_CMP_CTX_set1(expected_sender, X509_NAME) -/* Set the X509 name of the issuer. Set in the PKIHeader */ +/* Set the X509 name of the issuer to be placed in the certTemplate */ DEFINE_OSSL_CMP_CTX_set1(issuer, X509_NAME) /*