summaryrefslogtreecommitdiff
path: root/providers/implementations/ciphers/cipher_idea.c
diff options
context:
space:
mode:
Diffstat (limited to 'providers/implementations/ciphers/cipher_idea.c')
-rw-r--r--providers/implementations/ciphers/cipher_idea.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/providers/implementations/ciphers/cipher_idea.c b/providers/implementations/ciphers/cipher_idea.c
index bc716290a4..c69c6ac092 100644
--- a/providers/implementations/ciphers/cipher_idea.c
+++ b/providers/implementations/ciphers/cipher_idea.c
@@ -40,10 +40,8 @@ static void *idea_dupctx(void *ctx)
return NULL;
ret = OPENSSL_malloc(sizeof(*ret));
- if (ret == NULL) {
- ERR_raise(ERR_LIB_PROV, ERR_R_MALLOC_FAILURE);
+ if (ret == NULL)
return NULL;
- }
*ret = *in;
return ret;