New verify flag to return success if we have any certificate in the
[openssl.git] / apps / apps.c
index 7f057fb4b2303b491e2f806ce440294bb02b556b..984582111c6a7bf858b93bf9e66062c8e1606c36 100644 (file)
@@ -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;