projects
/
oweals
/
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
[oweals/openssl.git]
/
crypto
/
asn1
/
a_mbstr.c
diff --git
a/crypto/asn1/a_mbstr.c
b/crypto/asn1/a_mbstr.c
index 46100c32cbd7098a81413e556f45caaaac39d0e3..0892976293ce0983f4747dddb747fd1ed2b2930f 100644
(file)
--- a/
crypto/asn1/a_mbstr.c
+++ b/
crypto/asn1/a_mbstr.c
@@
-200,7
+200,7
@@
int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len,
} else {
free_out = 1;
dest = ASN1_STRING_type_new(str_type);
- if (
!dest
) {
+ if (
dest == NULL
) {
ASN1err(ASN1_F_ASN1_MBSTRING_NCOPY, ERR_R_MALLOC_FAILURE);
return -1;
}