From: Dr. Stephen Henson Date: Mon, 8 Mar 2004 18:15:32 +0000 (+0000) Subject: Fix policy constraints syntax. X-Git-Tag: LEVITTE_before_const~11 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=a4e3150f00c379a2922180c77eb622ccabfeebd8 Fix policy constraints syntax. --- 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)