diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-08-12 10:32:56 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-08-12 10:32:56 +0000 |
commit | 002e66c0e81f94ac01d9a206e43eabb7f1c72a74 (patch) | |
tree | 8b27918e90406164f174b9ac457575675813f92e /apps | |
parent | e9746e03ee222b0123ac118f8952e161e7d48a2d (diff) |
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.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/apps.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/apps.c b/apps/apps.c index 43eae05dec..1ef1b14ed6 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -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")) |