aboutsummaryrefslogtreecommitdiffstats
path: root/util/openssl.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-07-13 10:25:52 +0200
committerKim Alvefur <zash@zash.se>2016-07-13 10:25:52 +0200
commit21898f125205e79455e4e4539988e42a4d935b18 (patch)
tree211c2095c4ed506159c6508b1a901ac0ac56af38 /util/openssl.lua
parent609cd70a7c4ab80fad47a77a32c7d70fda8779ae (diff)
parenta8523999b65f39d8a8a242f38bc825a5a6accd4d (diff)
downloadprosody-21898f125205e79455e4e4539988e42a4d935b18.tar.gz
prosody-21898f125205e79455e4e4539988e42a4d935b18.zip
Merge 0.10->trunk
Diffstat (limited to 'util/openssl.lua')
-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);