Software /
code /
prosody
Diff
util/openssl.lua @ 7482:88a92ba697bf
util.openssl: remove unused one-letter loop variable [luacheck]
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 09 Jul 2016 13:52:04 +0800 |
parent | 7458:82710f8c1fe6 |
child | 7529:bdaff978c790 |
line wrap: on
line diff
--- a/util/openssl.lua Sat Jul 09 10:27:57 2016 +0800 +++ b/util/openssl.lua Sat Jul 09 13:52:04 2016 +0800 @@ -70,7 +70,7 @@ 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);