summaryrefslogtreecommitdiff
path: root/lib/pkix.asn
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2004-02-13 10:15:06 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2004-02-13 10:15:06 +0000
commit440a3a8275a023fd85ac385162b6516e1165ac1d (patch)
treecb152314fbb5404fa20456de2078dc0332bb2340 /lib/pkix.asn
parent02d2a9b77473072caba17020bfd4f5b616e38303 (diff)
downloadgnutls-440a3a8275a023fd85ac385162b6516e1165ac1d.tar.gz
fixed CRLDistpoints ASN.1 definitions.
Diffstat (limited to 'lib/pkix.asn')
-rw-r--r--lib/pkix.asn15
1 files changed, 4 insertions, 11 deletions
diff --git a/lib/pkix.asn b/lib/pkix.asn
index 5a2f93d73d..81907ec4ff 100644
--- a/lib/pkix.asn
+++ b/lib/pkix.asn
@@ -196,21 +196,14 @@ id-ce-cRLDistributionPoints OBJECT IDENTIFIER ::= {id-ce 31}
CRLDistributionPoints ::= SEQUENCE SIZE (1..MAX) OF DistributionPoint
DistributionPoint ::= SEQUENCE {
- distributionPoint [0] DistributionPointName OPTIONAL,
+ distributionPoint [0] EXPLICIT DistributionPointName OPTIONAL,
reasons [1] ReasonFlags OPTIONAL,
cRLIssuer [2] GeneralNames OPTIONAL
}
--- original definition:
--- DistributionPointName ::= CHOICE {
--- fullName [0] GeneralNames,
--- nameRelativeToCRLIssuer [1] RelativeDistinguishedName
---}
--- This does not work since it does not tag elements.
-
-DistributionPointName ::= SEQUENCE {
- fullName [0] GeneralNames OPTIONAL,
- nameRelativeToCRLIssuer [1] RelativeDistinguishedName OPTIONAL
+DistributionPointName ::= CHOICE {
+ fullName [0] GeneralNames,
+ nameRelativeToCRLIssuer [1] RelativeDistinguishedName
}
ReasonFlags ::= BIT STRING {