# HG changeset patch # User Kim Alvefur # Date 1428855581 -7200 # Node ID d9fcf9d8e787bfe1c6a856b882d18f23a6692845 # Parent c813b69ae279ae03578a8728aeb2e33337b85012 mod_checkcerts: Fix for removal of globals in LuaSec diff -r c813b69ae279 -r d9fcf9d8e787 mod_checkcerts/mod_checkcerts.lua --- 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.