aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-asn1/fix-authkeyid-tagging.patch
blob: 8e81bca2e9b17d4a22a1308c823c698370ffb0d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/asn1/rfc5280.lua b/asn1/rfc5280.lua
index 9c077ed..315383b 100644
--- a/asn1/rfc5280.lua
+++ b/asn1/rfc5280.lua
@@ -10,7 +10,7 @@ local M = {}
 M.KeyIdentifier = asn1.octet_string()
 
 M.AuthorityKeyIdentifier = asn1.sequence{
-   {'keyIdentifier', asn1.explicit(0, M.KeyIdentifier)}
+   {'keyIdentifier', asn1.octet_string{tag=0}}
 }
 
 M.CRLDistributionPoints = asn1.sequence_of(