Support for policy mappings extension.
Delete X509_POLICY_REF code. Fix handling of invalid policy extensions to return the correct error. Add command line option to inhibit policy mappings.
This commit is contained in:
@@ -2235,6 +2235,8 @@ int args_verify(char ***pargs, int *pargc,
|
||||
flags |= X509_V_FLAG_EXPLICIT_POLICY;
|
||||
else if (!strcmp(arg, "-inhibit_any"))
|
||||
flags |= X509_V_FLAG_INHIBIT_ANY;
|
||||
else if (!strcmp(arg, "-inhibit_map"))
|
||||
flags |= X509_V_FLAG_INHIBIT_MAP;
|
||||
else if (!strcmp(arg, "-x509_strict"))
|
||||
flags |= X509_V_FLAG_X509_STRICT;
|
||||
else if (!strcmp(arg, "-policy_print"))
|
||||
|
Reference in New Issue
Block a user