]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/evp/p_seal.c
Stop raising ERR_R_MALLOC_FAILURE in most places
[thirdparty/openssl.git] / crypto / evp / p_seal.c
index b52d33c235177da9b08ad5191d06e5b5cbb73b62..94c8462ab457081e4b6cb5605845fd94f71e0646 100644 (file)
@@ -58,7 +58,7 @@ int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
 
         pctx = EVP_PKEY_CTX_new_from_pkey(libctx, pubk[i], NULL);
         if (pctx == NULL) {
-            ERR_raise(ERR_LIB_EVP, ERR_R_MALLOC_FAILURE);
+            ERR_raise(ERR_LIB_EVP, ERR_R_EVP_LIB);
             goto err;
         }