]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/core_algorithm.c
Stop raising ERR_R_MALLOC_FAILURE in most places
[thirdparty/openssl.git] / crypto / core_algorithm.c
index b685183ab826da5e5862dee35cad216484ea5337..16055bad30224cc18453e0bfb2ce9bccc751d328 100644 (file)
@@ -193,7 +193,5 @@ char *ossl_algorithm_get1_first_name(const OSSL_ALGORITHM *algo)
         first_name_len = first_name_end - algo->algorithm_names;
 
     ret = OPENSSL_strndup(algo->algorithm_names, first_name_len);
-    if (ret == NULL)
-        ERR_raise(ERR_LIB_EVP, ERR_R_MALLOC_FAILURE);
     return ret;
 }