diff options
author | Kim Alvefur <zash@zash.se> | 2015-04-02 14:31:41 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-04-02 14:31:41 +0200 |
commit | c481f0d96bebdf814576fb6d23bcc47fbbc5250c (patch) | |
tree | f6989e7806f673e5969bdc8d338a98a30d8ade7c /prosodyctl | |
parent | ec13378655bed96c1174144d9bfa540526cfa5a4 (diff) | |
download | prosody-c481f0d96bebdf814576fb6d23bcc47fbbc5250c.tar.gz prosody-c481f0d96bebdf814576fb6d23bcc47fbbc5250c.zip |
prosodyctl: Use ssl.loadcertificate instead of ssl.x509.load, as the ssl.x509 export dissapears in 97b1974 or 356e03a
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1094,7 +1094,7 @@ function commands.check(arg) local x509_verify_identity = require"util.x509".verify_identity; local ssl = dependencies.softreq"ssl"; -- local datetime_parse = require"util.datetime".parse_x509; - local load_cert = ssl and ssl.x509 and ssl.x509.load; + local load_cert = ssl and ssl.loadcertificate; -- or ssl.cert_from_pem if not ssl then print("LuaSec not available, can't perform certificate checks") |