aboutsummaryrefslogtreecommitdiffstats
path: root/util
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
commit12787b47f5f4e60484ad93f8c4122786f19e5b3c (patch)
tree6d045282a8daa04674b65ee68a8a4dad2e3b4a2c /util
parent4daf38eaeb1c58e32048432f03af76daca80574a (diff)
downloadprosody-12787b47f5f4e60484ad93f8c4122786f19e5b3c.tar.gz
prosody-12787b47f5f4e60484ad93f8c4122786f19e5b3c.zip
util.openssl: remove unused one-letter loop variable [luacheck]
Diffstat (limited to 'util')
-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);