Add -no_alt_chains option to apps to implement the new
[openssl.git] / apps / apps.c
index bf044d40f85ae2456f7d4ffe60217424eb637e54..8412e24687fa371bc8235d2d6705ff6570471dde 100644 (file)
@@ -2362,6 +2362,8 @@ int args_verify(char ***pargs, int *pargc,
         flags |= X509_V_FLAG_SUITEB_192_LOS;
     else if (!strcmp(arg, "-partial_chain"))
         flags |= X509_V_FLAG_PARTIAL_CHAIN;
+    else if (!strcmp(arg, "-no_alt_chains"))
+        flags |= X509_V_FLAG_NO_ALT_CHAINS;
     else
         return 0;