]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
ess_lib.c: Changed ERR_LIB_CMS to ERR_LIB_ESS
authorleerubin13 <lhr9392@rit.edu>
Sun, 28 Apr 2024 21:50:32 +0000 (17:50 -0400)
committerTomas Mraz <tomas@openssl.org>
Tue, 30 Apr 2024 07:22:14 +0000 (09:22 +0200)
This fixes an incorrect error message.

Fixes #24224
CLA: trivial

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24290)

(cherry picked from commit 2d29a8a7e8ef42050d2b08ca8cec9e4d9f0a0bb7)

crypto/ess/ess_lib.c

index 65444d383ff4bdc8af42ecb359be7741c514c73b..3d59fc2151c82dd95b21061e66e7235cb8258ddf 100644 (file)
@@ -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) {