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. [backport from HEAD]
This commit is contained in:
@@ -2363,6 +2363,8 @@ int args_verify(char ***pargs, int *pargc,
|
||||
flags |= X509_V_FLAG_CHECK_SS_SIGNATURE;
|
||||
else if (!strcmp(arg, "-trusted_first"))
|
||||
flags |= X509_V_FLAG_TRUSTED_FIRST;
|
||||
else if (!strcmp(arg, "-partial_chain"))
|
||||
flags |= X509_V_FLAG_PARTIAL_CHAIN;
|
||||
else
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user