summaryrefslogtreecommitdiffstats
path: root/crypto/cms/cms_dd.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/cms/cms_dd.c')
-rw-r--r--crypto/cms/cms_dd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cms/cms_dd.c b/crypto/cms/cms_dd.c
index 6a7c049ef3..40b20249a3 100644
--- a/crypto/cms/cms_dd.c
+++ b/crypto/cms/cms_dd.c
@@ -66,7 +66,7 @@ int ossl_cms_DigestedData_do_final(const CMS_ContentInfo *cms, BIO *chain,
CMS_DigestedData *dd;
if (mctx == NULL) {
- ERR_raise(ERR_LIB_CMS, ERR_R_MALLOC_FAILURE);
+ ERR_raise(ERR_LIB_CMS, ERR_R_EVP_LIB);
goto err;
}