aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ec/ec_print.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/ec/ec_print.c')
-rw-r--r--crypto/ec/ec_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ec_print.c b/crypto/ec/ec_print.c
index 7c34694633..5ae85ccdb0 100644
--- a/crypto/ec/ec_print.c
+++ b/crypto/ec/ec_print.c
@@ -143,7 +143,7 @@ char *EC_POINT_point2hex(const EC_GROUP *group,
return NULL;
}
- ret = (char *)OPENSSL_malloc(buf_len * 2 + 2);
+ ret = OPENSSL_malloc(buf_len * 2 + 2);
if (ret == NULL) {
OPENSSL_free(buf);
return NULL;