summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ecp_nistp521.c
diff options
context:
space:
mode:
authorderaadt <>2014-06-07 14:41:57 +0000
committerderaadt <>2014-06-07 14:41:57 +0000
commit800fbde652d67326eeb163d56d8f72ebb239b3c4 (patch)
treec0956c22011ba4358ae4ab650adf0e744f93f40c /src/lib/libcrypto/ec/ecp_nistp521.c
parent99e1482c930054f5a075761b96ee19aa8e1a4596 (diff)
downloadopenbsd-800fbde652d67326eeb163d56d8f72ebb239b3c4.tar.gz
openbsd-800fbde652d67326eeb163d56d8f72ebb239b3c4.tar.bz2
openbsd-800fbde652d67326eeb163d56d8f72ebb239b3c4.zip
malloc() result does not need a cast.
ok miod
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_nistp521.c')
-rw-r--r--src/lib/libcrypto/ec/ecp_nistp521.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ec/ecp_nistp521.c b/src/lib/libcrypto/ec/ecp_nistp521.c
index 5d5a747ee8..fc8703e4c8 100644
--- a/src/lib/libcrypto/ec/ecp_nistp521.c
+++ b/src/lib/libcrypto/ec/ecp_nistp521.c
@@ -1628,7 +1628,7 @@ static NISTP521_PRE_COMP *
1628nistp521_pre_comp_new() 1628nistp521_pre_comp_new()
1629{ 1629{
1630 NISTP521_PRE_COMP *ret = NULL; 1630 NISTP521_PRE_COMP *ret = NULL;
1631 ret = (NISTP521_PRE_COMP *) malloc(sizeof(NISTP521_PRE_COMP)); 1631 ret = malloc(sizeof(NISTP521_PRE_COMP));
1632 if (!ret) { 1632 if (!ret) {
1633 ECerr(EC_F_NISTP521_PRE_COMP_NEW, ERR_R_MALLOC_FAILURE); 1633 ECerr(EC_F_NISTP521_PRE_COMP_NEW, ERR_R_MALLOC_FAILURE);
1634 return ret; 1634 return ret;