summaryrefslogtreecommitdiff
path: root/apps/verify.c
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-03-05 21:05:35 +0100
committerTomas Mraz <tomas@openssl.org>2021-03-15 13:29:57 +0100
commitea51096e51571b0dfe1e9e63661ad6f62ce0d82a (patch)
tree58e1c359aaa08b76d7abf971e6c97d009da0e1b7 /apps/verify.c
parent8287a4c3b2230f8df109f5eb34171fa0058add2c (diff)
downloadopenssl-new-ea51096e51571b0dfe1e9e63661ad6f62ce0d82a.tar.gz
apps: Add maybe_stdin argument to load_certs and set it in pkcs12
Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/14449)
Diffstat (limited to 'apps/verify.c')
-rw-r--r--apps/verify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/verify.c b/apps/verify.c
index bf200b0fb6..de6e051006 100644
--- a/apps/verify.c
+++ b/apps/verify.c
@@ -145,7 +145,7 @@ int verify_main(int argc, char **argv)
break;
case OPT_UNTRUSTED:
/* Zero or more times */
- if (!load_certs(opt_arg(), &untrusted, NULL,
+ if (!load_certs(opt_arg(), 0, &untrusted, NULL,
"untrusted certificates"))
goto end;
break;
@@ -154,7 +154,7 @@ int verify_main(int argc, char **argv)
noCAfile = 1;
noCApath = 1;
noCAstore = 1;
- if (!load_certs(opt_arg(), &trusted, NULL, "trusted certificates"))
+ if (!load_certs(opt_arg(), 0, &trusted, NULL, "trusted certificates"))
goto end;
break;
case OPT_CRLFILE: