diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/ec/ecp_nistp521.c | 2 |
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 * | |||
1628 | nistp521_pre_comp_new() | 1628 | nistp521_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; |