diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-02-13 10:15:06 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-02-13 10:15:06 +0000 |
commit | 440a3a8275a023fd85ac385162b6516e1165ac1d (patch) | |
tree | cb152314fbb5404fa20456de2078dc0332bb2340 /lib | |
parent | 02d2a9b77473072caba17020bfd4f5b616e38303 (diff) | |
download | gnutls-440a3a8275a023fd85ac385162b6516e1165ac1d.tar.gz |
fixed CRLDistpoints ASN.1 definitions.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pkix.asn | 15 | ||||
-rw-r--r-- | lib/pkix_asn1_tab.c | 8 |
2 files changed, 8 insertions, 15 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 { diff --git a/lib/pkix_asn1_tab.c b/lib/pkix_asn1_tab.c index f2ab0c14e8..14b06b12b0 100644 --- a/lib/pkix_asn1_tab.c +++ b/lib/pkix_asn1_tab.c @@ -187,15 +187,15 @@ const ASN1_ARRAY_TYPE pkix_asn1_tab[]={ {0,2,"DistributionPoint"}, {"DistributionPoint",1610612741,0}, {"distributionPoint",1610637314,"DistributionPointName"}, - {0,4104,"0"}, + {0,2056,"0"}, {"reasons",1610637314,"ReasonFlags"}, {0,4104,"1"}, {"cRLIssuer",536895490,"GeneralNames"}, {0,4104,"2"}, - {"DistributionPointName",1610612741,0}, - {"fullName",1610637314,"GeneralNames"}, + {"DistributionPointName",1610612754,0}, + {"fullName",1610620930,"GeneralNames"}, {0,4104,"0"}, - {"nameRelativeToCRLIssuer",536895490,"RelativeDistinguishedName"}, + {"nameRelativeToCRLIssuer",536879106,"RelativeDistinguishedName"}, {0,4104,"1"}, {"ReasonFlags",1610874886,0}, {"unused",1073741825,"0"}, |