summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-12-13 18:14:46 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-12-13 18:14:46 +0000
commit51e7a4378a78bb0870a2cdc5c524c230c929ebcb (patch)
tree786b3771776cf062bc6a02de5c70729dcc430ac4 /apps
parent74cc3b583d69d7fe7b90d177a7e83268f69c23c9 (diff)
New verify flag to return success if we have any certificate in the
trusted store instead of the default which is to return an error if we can't build the complete chain.
Diffstat (limited to 'apps')
-rw-r--r--apps/apps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/apps.c b/apps/apps.c
index 7f057fb4b2..984582111c 100644
--- a/apps/apps.c
+++ b/apps/apps.c
@@ -2527,6 +2527,8 @@ int args_verify(char ***pargs, int *pargc,
flags |= X509_V_FLAG_SUITEB_128_LOS;
else if (!strcmp(arg, "-suiteB_192"))
flags |= X509_V_FLAG_SUITEB_192_LOS;
+ else if (!strcmp(arg, "-partial_chain"))
+ flags |= X509_V_FLAG_PARTIAL_CHAIN;
else
return 0;