Software /
code /
prosody
Comparison
prosodyctl @ 7212:167dbd29fbeb
prosodyctl: Fix typo (thanks av6)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Feb 2016 18:45:27 +0100 |
parent | 7210:48149ecbb649 |
child | 7213:193e4c65d218 |
comparison
equal
deleted
inserted
replaced
7210:48149ecbb649 | 7212:167dbd29fbeb |
---|---|
1221 cert_ok = false | 1221 cert_ok = false |
1222 elseif not ssl_config.certificate then | 1222 elseif not ssl_config.certificate then |
1223 print(" No 'certificate' found for "..host) | 1223 print(" No 'certificate' found for "..host) |
1224 cert_ok = false | 1224 cert_ok = false |
1225 elseif not ssl_config.key then | 1225 elseif not ssl_config.key then |
1226 print(" No 'key' found for for "..host) | 1226 print(" No 'key' found for "..host) |
1227 cert_ok = false | 1227 cert_ok = false |
1228 else | 1228 else |
1229 local key, err = io.open(ssl_config.key); -- Permissions check only | 1229 local key, err = io.open(ssl_config.key); -- Permissions check only |
1230 if not key then | 1230 if not key then |
1231 print(" Could not open "..ssl_config.key..": "..err); | 1231 print(" Could not open "..ssl_config.key..": "..err); |