summaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-04-07 21:54:58 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-04-07 21:54:58 +0100
commitc222cf209d3c02279796fb794ec37c27d34320d9 (patch)
treeda79fd021942cf44c547d657719b1b338288182f /lualib
parent5bea1b1c639424c178ae8d029774b34f2d62b0e2 (diff)
downloadrspamd-c222cf209d3c02279796fb794ec37c27d34320d9.tar.gz
rspamd-c222cf209d3c02279796fb794ec37c27d34320d9.zip
[Minor] Pet luacheck
Diffstat (limited to 'lualib')
-rw-r--r--lualib/rspamadm/dkim_keygen.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lualib/rspamadm/dkim_keygen.lua b/lualib/rspamadm/dkim_keygen.lua
index 5fff5707f..0d0ebe5a6 100644
--- a/lualib/rspamadm/dkim_keygen.lua
+++ b/lualib/rspamadm/dkim_keygen.lua
@@ -87,7 +87,8 @@ end
local function print_public_key_dns(opts, base64_pk)
local key_type = opts.type == 'rsa' and 'rsa' or 'ed25519'
if #base64_pk < 255 - 2 then
- io.write(string.format('%s._domainkey IN TXT ( "v=DKIM1; k=%s;" \n\t"p=%s" ) ;\n', opts.selector, key_type, base64_pk))
+ io.write(string.format('%s._domainkey IN TXT ( "v=DKIM1; k=%s;" \n\t"p=%s" ) ;\n',
+ opts.selector, key_type, base64_pk))
else
-- Split it by parts
local parts = split_string(base64_pk)