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
/
a_strex.c
diff --git
a/crypto/asn1/a_strex.c
b/crypto/asn1/a_strex.c
index c9d3cea036be346da51ec20f21ef2fefce631ef4..7d37c73d395a751f4eec7d5807f191a24651437a 100644
(file)
--- a/
crypto/asn1/a_strex.c
+++ b/
crypto/asn1/a_strex.c
@@
-305,7
+305,7
@@
static int do_dump(unsigned long lflags, char_io *io_ch, void *arg,
t.value.ptr = (char *)str;
der_len = i2d_ASN1_TYPE(&t, NULL);
der_buf = OPENSSL_malloc(der_len);
- if (
!der_buf
)
+ if (
der_buf == NULL
)
return -1;
p = der_buf;
i2d_ASN1_TYPE(&t, &p);