]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/evp/mac_meth.c
Stop raising ERR_R_MALLOC_FAILURE in most places
[thirdparty/openssl.git] / crypto / evp / mac_meth.c
index 85fe7704fde27a616a5e22ee4ef6a1f27600bfb7..e13354826910f256c088924f8c6cad18314f7b66 100644 (file)
@@ -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;