projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54fdc39
)
check mval for NULL too
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 4 Dec 2012 17:26:13 +0000
(17:26 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 4 Dec 2012 17:26:13 +0000
(17:26 +0000)
apps/apps.c
patch
|
blob
|
history
diff --git
a/apps/apps.c
b/apps/apps.c
index 8dc610199bead81c241b776bbae133df977b86b1..1096eee4cfaea7db8d6f061fb6fc32bb5a1d4cbf 100644
(file)
--- a/
apps/apps.c
+++ b/
apps/apps.c
@@
-2132,7
+2132,7
@@
X509_NAME *parse_name(char *subject, long chtype, int multirdn)
X509_NAME *n = NULL;
int nid;
- if (!buf || !ne_types || !ne_values)
+ if (!buf || !ne_types || !ne_values
|| !mval
)
{
BIO_printf(bio_err, "malloc error\n");
goto error;