diff options
author | Kinichiro Inoguchi <inoguchi@cvs.openbsd.org> | 2021-07-20 12:04:54 +0000 |
---|---|---|
committer | Kinichiro Inoguchi <inoguchi@cvs.openbsd.org> | 2021-07-20 12:04:54 +0000 |
commit | 74df5f3a5f67bd29884a660eba16e4dd1d2af9c9 (patch) | |
tree | 9f7fbe06b05d9e563c0c623f56c79dc15b56e983 /usr.bin/openssl | |
parent | 3e94dd002c19cc33630df7ef1afea2c42c0cec0d (diff) |
Check pointer variable if it is NULL in ca.c
missed with r1.32
Diffstat (limited to 'usr.bin/openssl')
-rw-r--r-- | usr.bin/openssl/ca.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/openssl/ca.c b/usr.bin/openssl/ca.c index 79bb9ac8b62..2b34d29a1bc 100644 --- a/usr.bin/openssl/ca.c +++ b/usr.bin/openssl/ca.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ca.c,v 1.33 2021/07/15 12:41:49 inoguchi Exp $ */ +/* $OpenBSD: ca.c,v 1.34 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); |