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
/
evp
/
scrypt.c
diff --git
a/crypto/evp/scrypt.c
b/crypto/evp/scrypt.c
index 380e1fa7921c85658eac2200929baeb698d2063c..26b4e596ba2bb7c6f5d16ba590a37cf6562a51d2 100644
(file)
--- a/
crypto/evp/scrypt.c
+++ b/
crypto/evp/scrypt.c
@@
-268,7
+268,7
@@
int EVP_PBE_scrypt(const char *pass, size_t passlen,
return 1;
B = OPENSSL_malloc(Blen + Vlen);
- if (B ==
0
)
+ if (B ==
NULL
)
return 0;
X = (uint32_t *)(B + Blen);
T = X + 32 * r;