Changeset

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
parents 1671:c813b69ae279
children 1673:aac5e56615ce
files mod_checkcerts/mod_checkcerts.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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.