add -trusted_first option and verify flag

This commit is contained in:
Dr. Stephen Henson
2010-02-25 12:21:48 +00:00
parent 2da2ff5065
commit db28aa86e0
4 changed files with 23 additions and 0 deletions

View File

@@ -2333,6 +2333,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;