summaryrefslogtreecommitdiffstats
path: root/crypto/core_algorithm.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/core_algorithm.c')
-rw-r--r--crypto/core_algorithm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/core_algorithm.c b/crypto/core_algorithm.c
index b685183ab8..16055bad30 100644
--- a/crypto/core_algorithm.c
+++ b/crypto/core_algorithm.c
@@ -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;
}