projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc62101
)
prosodyctl: Use ssl.loadcertificate instead of ssl.x509.load, as the ssl.x509 export...
author
Kim Alvefur
<zash@zash.se>
Thu, 2 Apr 2015 12:31:41 +0000
(14:31 +0200)
committer
Kim Alvefur
<zash@zash.se>
Thu, 2 Apr 2015 12:31:41 +0000
(14:31 +0200)
prosodyctl
patch
|
blob
|
history
diff --git
a/prosodyctl
b/prosodyctl
index 7c6b77d4f4f4b0362ac9e8361d39319173130a54..e8fca0cefd4806378bf96b0ece80bcc1164e490b 100755
(executable)
--- a/
prosodyctl
+++ b/
prosodyctl
@@
-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")