Merge 0.10->trunk
[prosody.git] / prosodyctl
index 15d40f26a7b66e16bb88010b6587be5d6f8b01a9..74681e7cd9c66863c31fff1c71371cd4323b025b 100755 (executable)
@@ -717,7 +717,7 @@ function cert_commands.config(arg)
                else
                        show_message("Please provide details to include in the certificate config file.");
                        show_message("Leave the field empty to use the default value or '.' to exclude the field.")
-                       for i, k in ipairs(openssl._DN_order) do
+                       for _, k in ipairs(openssl._DN_order) do
                                local v = conf.distinguished_name[k];
                                if v then
                                        local nv;