diff options
Diffstat (limited to 'util/x509.lua')
-rw-r--r-- | util/x509.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/x509.lua b/util/x509.lua index 51ca3c96..ae250a55 100644 --- a/util/x509.lua +++ b/util/x509.lua @@ -276,8 +276,7 @@ local function get_identities(cert) --> map of names to sets of services return names.data; end -local pat = "%-%-%-%-%-BEGIN ([A-Z ]+)%-%-%-%-%-\r?\n".. -"([0-9A-Za-z+/=\r\n]*)\r?\n%-%-%-%-%-END %1%-%-%-%-%-"; +local pat = "%-%-%-%-%-BEGIN ([A-Z ]+)%-%-%-%-%-\r?\n([0-9A-Za-z+/=\r\n]*)\r?\n%-%-%-%-%-END %1%-%-%-%-%-"; local function pem2der(pem) local typ, data = pem:match(pat); |