aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Shestakov <av6@dwimlabs.net>2016-07-09 13:52:04 +0800
committerAnton Shestakov <av6@dwimlabs.net>2016-07-09 13:52:04 +0800
commitf710b07b55aacbd2b375a6a04251565ee4f58936 (patch)
tree6d045282a8daa04674b65ee68a8a4dad2e3b4a2c
parent416f381c39bfe659428c6398d8499674b79bd4b8 (diff)
downloadprosody-f710b07b55aacbd2b375a6a04251565ee4f58936.tar.gz
prosody-f710b07b55aacbd2b375a6a04251565ee4f58936.zip
util.openssl: remove unused one-letter loop variable [luacheck]
-rw-r--r--util/openssl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/openssl.lua b/util/openssl.lua
index 33234a7d..abd90a84 100644
--- a/util/openssl.lua
+++ b/util/openssl.lua
@@ -70,7 +70,7 @@ function ssl_config:serialize()
end
end
elseif k == "distinguished_name" then
- for i, k in ipairs(t[1] and t or DN_order) do
+ for _, k in ipairs(t[1] and t or DN_order) do
local v = t[k];
if v then
s = s .. ("%s = %s\n"):format(k, v);