summaryrefslogtreecommitdiff
path: root/lib/libcrypto/ecdh/ech_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/ecdh/ech_lib.c')
-rw-r--r--lib/libcrypto/ecdh/ech_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/ecdh/ech_lib.c b/lib/libcrypto/ecdh/ech_lib.c
index 51fb7d6afb7..ae1999b8c37 100644
--- a/lib/libcrypto/ecdh/ech_lib.c
+++ b/lib/libcrypto/ecdh/ech_lib.c
@@ -129,7 +129,7 @@ static ECDH_DATA *ECDH_DATA_new_method(ENGINE *engine)
{
ECDH_DATA *ret;
- ret=(ECDH_DATA *)malloc(sizeof(ECDH_DATA));
+ ret = malloc(sizeof(ECDH_DATA));
if (ret == NULL)
{
ECDHerr(ECDH_F_ECDH_DATA_NEW_METHOD, ERR_R_MALLOC_FAILURE);