artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f927fd9
)
Check pointer variable if it is NULL in ca.c
author
inoguchi
<inoguchi@openbsd.org>
Tue, 20 Jul 2021 12:04:53 +0000
(12:04 +0000)
committer
inoguchi
<inoguchi@openbsd.org>
Tue, 20 Jul 2021 12:04:53 +0000
(12:04 +0000)
missed with r1.32
usr.bin/openssl/ca.c
patch
|
blob
|
history
diff --git
a/usr.bin/openssl/ca.c
b/usr.bin/openssl/ca.c
index
79bb9ac
..
2b34d29
100644
(file)
--- a/
usr.bin/openssl/ca.c
+++ b/
usr.bin/openssl/ca.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ca.c,v 1.3
3 2021/07/15 12:41:49
inoguchi Exp $ */
+/* $OpenBSD: ca.c,v 1.3
4 2021/07/20 12:04:53
inoguchi Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@
-880,7
+880,7
@@
ca_main(int argc, char **argv)
f = NCONF_get_string(conf, ca_config.section, ENV_NAMEOPT);
- if (f) {
+ if (f
!= NULL
) {
if (!set_name_ex(&nameopt, f)) {
BIO_printf(bio_err,
"Invalid name options: \"%s\"\n", f);