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
/
asn1
/
p5_scrypt.c
diff --git
a/crypto/asn1/p5_scrypt.c
b/crypto/asn1/p5_scrypt.c
index 3667546634ddf023e782cbb153bb8bd11a3fcba3..06bb2ac2c213bd0496287d528eeeee2af358fdbd 100644
(file)
--- a/
crypto/asn1/p5_scrypt.c
+++ b/
crypto/asn1/p5_scrypt.c
@@
-247,7
+247,7
@@
static X509_ALGOR *pkcs5_scrypt_set(const unsigned char *salt, size_t saltlen,
/* Finally setup the keyfunc structure */
keyfunc = X509_ALGOR_new();
- if (
!keyfunc
)
+ if (
keyfunc == NULL
)
goto merr;
keyfunc->algorithm = OBJ_nid2obj(NID_id_scrypt);