summaryrefslogtreecommitdiff
path: root/crypto/evp/mac_meth.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/evp/mac_meth.c')
-rw-r--r--crypto/evp/mac_meth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/mac_meth.c b/crypto/evp/mac_meth.c
index 85fe7704fd..e133548269 100644
--- a/crypto/evp/mac_meth.c
+++ b/crypto/evp/mac_meth.c
@@ -66,7 +66,7 @@ static void *evp_mac_from_algorithm(int name_id,
int fnmaccnt = 0, fnctxcnt = 0;
if ((mac = evp_mac_new()) == NULL) {
- ERR_raise(ERR_LIB_EVP, ERR_R_MALLOC_FAILURE);
+ ERR_raise(ERR_LIB_EVP, ERR_R_EVP_LIB);
return NULL;
}
mac->name_id = name_id;