From: leerubin13 Date: Sun, 28 Apr 2024 21:50:32 +0000 (-0400) Subject: ess_lib.c: Changed ERR_LIB_CMS to ERR_LIB_ESS X-Git-Tag: openssl-3.1.6~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4a87616c07aa5e9bc32fa815e5ead4c17ce8fd9;p=thirdparty%2Fopenssl.git ess_lib.c: Changed ERR_LIB_CMS to ERR_LIB_ESS This fixes an incorrect error message. Fixes #24224 CLA: trivial Reviewed-by: Paul Dale Reviewed-by: Richard Levitte Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/24290) (cherry picked from commit 2d29a8a7e8ef42050d2b08ca8cec9e4d9f0a0bb7) --- diff --git a/crypto/ess/ess_lib.c b/crypto/ess/ess_lib.c index 65444d383ff..3d59fc2151c 100644 --- a/crypto/ess/ess_lib.c +++ b/crypto/ess/ess_lib.c @@ -293,7 +293,7 @@ int OSSL_ESS_check_signing_certs(const ESS_SIGNING_CERT *ss, int i, ret; if (require_signing_cert && ss == NULL && ssv2 == NULL) { - ERR_raise(ERR_LIB_CMS, ESS_R_MISSING_SIGNING_CERTIFICATE_ATTRIBUTE); + ERR_raise(ERR_LIB_ESS, ESS_R_MISSING_SIGNING_CERTIFICATE_ATTRIBUTE); return -1; } if (n_v1 == 0 || n_v2 == 0) {