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
/
hmac
/
hm_pmeth.c
diff --git
a/crypto/hmac/hm_pmeth.c
b/crypto/hmac/hm_pmeth.c
index ff9dbe35b0b11c56559632a3966cb14e172b2a92..e06a1db0eac9fe2f1f5f71edb1d9dcae4dd9fc52 100644
(file)
--- a/
crypto/hmac/hm_pmeth.c
+++ b/
crypto/hmac/hm_pmeth.c
@@
-77,7
+77,7
@@
static int pkey_hmac_init(EVP_PKEY_CTX *ctx)
HMAC_PKEY_CTX *hctx;
hctx = OPENSSL_zalloc(sizeof(*hctx));
- if (
!hctx
)
+ if (
hctx == NULL
)
return 0;
hctx->ktmp.type = V_ASN1_OCTET_STRING;
HMAC_CTX_init(&hctx->ctx);