aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509v3
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2004-03-08 18:15:32 +0000
committerDr. Stephen Henson <steve@openssl.org>2004-03-08 18:15:32 +0000
commita4e3150f00c379a2922180c77eb622ccabfeebd8 (patch)
tree77aad5de835e9268cd19c39bbcae8759b90479e9 /crypto/x509v3
parentedec614efddb8dc275f5537a8af98e2a1cac91b5 (diff)
downloadopenssl-a4e3150f00c379a2922180c77eb622ccabfeebd8.tar.gz
Fix policy constraints syntax.
Diffstat (limited to 'crypto/x509v3')
-rw-r--r--crypto/x509v3/v3_pcons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509v3/v3_pcons.c b/crypto/x509v3/v3_pcons.c
index 10d2120c33..91ae862ed7 100644
--- a/crypto/x509v3/v3_pcons.c
+++ b/crypto/x509v3/v3_pcons.c
@@ -81,8 +81,8 @@ NULL
};
ASN1_SEQUENCE(POLICY_CONSTRAINTS) = {
- ASN1_OPT(POLICY_CONSTRAINTS, requireExplicitPolicy, ASN1_INTEGER),
- ASN1_OPT(POLICY_CONSTRAINTS, inhibitPolicyMapping, ASN1_INTEGER)
+ ASN1_IMP_OPT(POLICY_CONSTRAINTS, requireExplicitPolicy, ASN1_INTEGER,0),
+ ASN1_IMP_OPT(POLICY_CONSTRAINTS, inhibitPolicyMapping, ASN1_INTEGER,1)
} ASN1_SEQUENCE_END(POLICY_CONSTRAINTS)
IMPLEMENT_ASN1_ALLOC_FUNCTIONS(POLICY_CONSTRAINTS)