diff options
author | Kim Alvefur <zash@zash.se> | 2022-12-21 21:34:07 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-12-21 21:34:07 +0100 |
commit | 62f32cd01d26e3d1bad0d63a9e418838eb9ea212 (patch) | |
tree | ac68619200114e660782808ccbe47dbfb81b9668 /util | |
parent | e3d771baf90b7fbc33d56e0ed2558c76f6ad9b24 (diff) | |
download | prosody-62f32cd01d26e3d1bad0d63a9e418838eb9ea212.tar.gz prosody-62f32cd01d26e3d1bad0d63a9e418838eb9ea212.zip |
Revert unintentionally committed parts of 12bd40b8e105
Diffstat (limited to 'util')
-rw-r--r-- | util/x509.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/x509.lua b/util/x509.lua index ae250a55..51ca3c96 100644 --- a/util/x509.lua +++ b/util/x509.lua @@ -276,7 +276,8 @@ 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); |