Skip to content

Commit

Permalink
ess_lib.c: Changed ERR_LIB_CMS to ERR_LIB_ESS
Browse files Browse the repository at this point in the history
This fixes an incorrect error message.

Fixes openssl#24224
CLA: trivial

Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Richard Levitte <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from openssl#24290)

(cherry picked from commit 2d29a8a)
  • Loading branch information
leerubin13 authored and t8m committed Apr 30, 2024
1 parent 6de46a0 commit d65c1de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/ess/ess_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,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) {
Expand Down

0 comments on commit d65c1de

Please sign in to comment.