mod_checkcerts/mod_checkcerts.lua
changeset 1676 d9fcf9d8e787
parent 1098 cbbeac61f1ab
child 1883 18123e0f5d58
--- 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.