summaryrefslogtreecommitdiff
path: root/apps/verify.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-01-27 10:50:38 +0000
committerMatt Caswell <matt@openssl.org>2015-02-25 09:15:02 +0000
commit25690b7f5f3d78a52c1377b823b40c6a0e12022b (patch)
tree7ec3978b77d913ea6b4af6a3da6efb4acaf1e0cc /apps/verify.c
parent15dba5be6a4482a9ad7e5b846291f31e97e338ca (diff)
downloadopenssl-new-25690b7f5f3d78a52c1377b823b40c6a0e12022b.tar.gz
Add -no_alt_chains option to apps to implement the new
X509_V_FLAG_NO_ALT_CHAINS flag. Using this option means that when building certificate chains, the first chain found will be the one used. Without this flag, if the first chain found is not trusted then we will keep looking to see if we can build an alternative chain instead. Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'apps/verify.c')
-rw-r--r--apps/verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/verify.c b/apps/verify.c
index 8f963f86c2..e771be22d2 100644
--- a/apps/verify.c
+++ b/apps/verify.c
@@ -236,7 +236,7 @@ int MAIN(int argc, char **argv)
end:
if (ret == 1) {
BIO_printf(bio_err,
- "usage: verify [-verbose] [-CApath path] [-CAfile file] [-trusted_first] [-purpose purpose] [-crl_check]");
+ "usage: verify [-verbose] [-CApath path] [-CAfile file] [-trusted_first] [-purpose purpose] [-crl_check] [-no_alt_chains]");
#ifndef OPENSSL_NO_ENGINE
BIO_printf(bio_err, " [-engine e]");
#endif