Fix policy constraints syntax.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 8 Mar 2004 18:15:32 +0000 (18:15 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 8 Mar 2004 18:15:32 +0000 (18:15 +0000)
crypto/x509v3/v3_pcons.c

index 10d2120..91ae862 100644 (file)
@@ -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)