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
/
tasn_utl.c
diff --git
a/crypto/asn1/tasn_utl.c
b/crypto/asn1/tasn_utl.c
index 8b62341b9b3ad0476103b964c6358313e5412116..10cc1f9143a13553eb399e85f0c44516f34caee0 100644
(file)
--- a/
crypto/asn1/tasn_utl.c
+++ b/
crypto/asn1/tasn_utl.c
@@
-172,7
+172,7
@@
int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen,
OPENSSL_free(enc->enc);
enc->enc = OPENSSL_malloc(inlen);
- if (
!enc->enc
)
+ if (
enc->enc == NULL
)
return 0;
memcpy(enc->enc, in, inlen);
enc->len = inlen;