Software /
code /
prosody-modules
Diff
mod_checkcerts/mod_checkcerts.lua @ 1672:d9fcf9d8e787
mod_checkcerts: Fix for removal of globals in LuaSec
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 12 Apr 2015 18:19:41 +0200 |
parent | 1098:cbbeac61f1ab |
child | 1879:18123e0f5d58 |
line wrap: on
line diff
--- a/mod_checkcerts/mod_checkcerts.lua Sat Apr 11 21:43:32 2015 +0200 +++ b/mod_checkcerts/mod_checkcerts.lua Sun Apr 12 18:19:41 2015 +0200 @@ -1,6 +1,6 @@ local ssl = require"ssl"; local datetime_parse = require"util.datetime".parse; -local load_cert = ssl.x509 and ssl.x509.load; +local load_cert = ssl.loadcertificate; local st = require"util.stanza" -- These are in days.