projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Continue standardising malloc style for libcrypto
[openssl.git]
/
crypto
/
ec
/
ecp_nistp521.c
diff --git
a/crypto/ec/ecp_nistp521.c
b/crypto/ec/ecp_nistp521.c
index febf5e94b7445ffeae52f704ec84761fcb19385f..dd5b19b5813af1ac4944959be25762b9d50ee924 100644
(file)
--- a/
crypto/ec/ecp_nistp521.c
+++ b/
crypto/ec/ecp_nistp521.c
@@
-1646,7
+1646,7
@@
static NISTP521_PRE_COMP *nistp521_pre_comp_new()
{
NISTP521_PRE_COMP *ret = OPENSSL_zalloc(sizeof(*ret));
- if (
!ret
) {
+ if (
ret == NULL
) {
ECerr(EC_F_NISTP521_PRE_COMP_NEW, ERR_R_MALLOC_FAILURE);
return ret;
}