Software / code / prosody
Comparison
prosodyctl @ 7483:8c5320a4bfaf
prosodyctl: remove unused one-letter loop variable [luacheck]
| author | Anton Shestakov <av6@dwimlabs.net> |
|---|---|
| date | Sat, 09 Jul 2016 13:52:57 +0800 |
| parent | 7455:82d8c11ab0cb |
| child | 7494:f82356adcd71 |
| child | 7528:50365a496890 |
comparison
equal
deleted
inserted
replaced
| 7482:88a92ba697bf | 7483:8c5320a4bfaf |
|---|---|
| 715 end | 715 end |
| 716 conf.distinguished_name = dn; | 716 conf.distinguished_name = dn; |
| 717 else | 717 else |
| 718 show_message("Please provide details to include in the certificate config file."); | 718 show_message("Please provide details to include in the certificate config file."); |
| 719 show_message("Leave the field empty to use the default value or '.' to exclude the field.") | 719 show_message("Leave the field empty to use the default value or '.' to exclude the field.") |
| 720 for i, k in ipairs(openssl._DN_order) do | 720 for _, k in ipairs(openssl._DN_order) do |
| 721 local v = conf.distinguished_name[k]; | 721 local v = conf.distinguished_name[k]; |
| 722 if v then | 722 if v then |
| 723 local nv; | 723 local nv; |
| 724 if k == "commonName" then | 724 if k == "commonName" then |
| 725 v = arg[1] | 725 v = arg[1] |