From 77b725f908a1b324fe2a966e90bd61c7de854950 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 8 Apr 2016 13:36:44 +0200 Subject: pkix.asn: corrected byKey definition OCSP is defined in an EXPLICIT tags module, and as such we must tag explicitly all of its tags. --- lib/pkix.asn | 2 +- lib/pkix_asn1_tab.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pkix.asn b/lib/pkix.asn index 05e3b23041..a5b53cd7b2 100644 --- a/lib/pkix.asn +++ b/lib/pkix.asn @@ -641,7 +641,7 @@ ResponseData ::= SEQUENCE { ResponderID ::= CHOICE { -- Changed to work with the libtasn1 parser. byName [1] EXPLICIT RDNSequence, --Name - byKey [2] OCTET STRING --SHA-1 hash of responder's public key + byKey [2] EXPLICIT OCTET STRING --SHA-1 hash of responder's public key } SingleResponse ::= SEQUENCE { diff --git a/lib/pkix_asn1_tab.c b/lib/pkix_asn1_tab.c index 5380cc00f6..7c5ba12630 100644 --- a/lib/pkix_asn1_tab.c +++ b/lib/pkix_asn1_tab.c @@ -489,7 +489,7 @@ const asn1_static_node pkix_asn1_tab[] = { { "byName", 1610620930, "RDNSequence"}, { NULL, 2056, "1"}, { "byKey", 536879111, NULL }, - { NULL, 4104, "2"}, + { NULL, 2056, "2"}, { "SingleResponse", 1610612741, NULL }, { "certID", 1073741826, "CertID"}, { "certStatus", 1073741826, "CertStatus"}, -- cgit v1.2.1