From 06cb72f2027a8afb0b8d47b69d87dd407a89587a Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 6 Aug 2013 14:32:31 +0200 Subject: mod_admin_telnet, mod_s2s: Fix reporting of certificate chain validation details --- plugins/mod_admin_telnet.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_admin_telnet.lua') diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index b942e9bd..131689c5 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -673,7 +673,7 @@ end -- I think there's going to be more confusion among operators if we -- break from that. local function print_errors(print, errors) - for depth, t in ipairs(errors) do + for depth, t in pairs(errors) do print( (" %d: %s"):format( depth-1, -- cgit v1.2.3