From 9d2006d8ed733522014035ec0514e23a312083e8 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 26 Sep 2012 13:50:42 +0000 Subject: add -trusted_first option and verify flag (backport from HEAD) --- apps/apps.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps') diff --git a/apps/apps.c b/apps/apps.c index 4e11915b02..d8d8a70acd 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -2358,6 +2358,8 @@ int args_verify(char ***pargs, int *pargc, flags |= X509_V_FLAG_NOTIFY_POLICY; else if (!strcmp(arg, "-check_ss_sig")) flags |= X509_V_FLAG_CHECK_SS_SIGNATURE; + else if (!strcmp(arg, "-trusted_first")) + flags |= X509_V_FLAG_TRUSTED_FIRST; else return 0; -- cgit v1.2.3