summaryrefslogtreecommitdiff
path: root/lib/pkix.asn
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-28 08:47:04 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-28 08:47:04 +0000
commitf627cf89380aebc3d14fe7974a4fba9c0987a30f (patch)
tree7409bd9f10f49a58e89f3b221e9d01c7278c6bc8 /lib/pkix.asn
parentc053bf844d39e304d098c407803d51ba01247baf (diff)
downloadgnutls-f627cf89380aebc3d14fe7974a4fba9c0987a30f.tar.gz
Corrected the CRL distribution point extension handling.
Diffstat (limited to 'lib/pkix.asn')
-rw-r--r--lib/pkix.asn28
1 files changed, 12 insertions, 16 deletions
diff --git a/lib/pkix.asn b/lib/pkix.asn
index 37e18060f0..2e81cee619 100644
--- a/lib/pkix.asn
+++ b/lib/pkix.asn
@@ -189,24 +189,20 @@ CRLDistributionPoints ::= SEQUENCE SIZE (1..MAX) OF DistributionPoint
DistributionPoint ::= SEQUENCE {
distributionPoint [0] DistributionPointName OPTIONAL,
reasons [1] ReasonFlags OPTIONAL,
- cRLIssuer [2] GeneralNames OPTIONAL }
-
-DistributionPointName ::= CHOICE {
- fullName [0] GeneralNames,
- nameRelativeToCRLIssuer [1] RelativeDistinguishedName }
-
--- Those are used to raw write a fullname.
-
-WritableCRLDistributionPoints ::= SEQUENCE SIZE (1..MAX) OF WritableDistributionPoint
+ cRLIssuer [2] GeneralNames OPTIONAL
+}
-WritableDistributionPoint ::= SEQUENCE {
- distributionPoint [0] WriteableDistributionPointName 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.
-WriteableDistributionPointName ::= CHOICE {
- fullName [0] ANY,
- nameRelativeToCRLIssuer [1] RelativeDistinguishedName }
+DistributionPointName ::= SEQUENCE {
+ fullName [0] GeneralNames
+-- nameRelativeToCRLIssuer [1] RelativeDistinguishedName
+}
ReasonFlags ::= BIT STRING {
unused (0),