mod_auth_ccert/mod_auth_ccert.lua
changeset 1070 dee31eeae7ae
parent 1069 d7719bf1aed6
child 1092 f46307e8e2f8
--- a/mod_auth_ccert/mod_auth_ccert.lua	Fri Jun 14 20:28:23 2013 +0200
+++ b/mod_auth_ccert/mod_auth_ccert.lua	Fri Jun 14 20:29:15 2013 +0200
@@ -81,7 +81,7 @@
 			if not chain_valid then
 				(session.log or log)("warn", "Invalid client certificate chain");
 				for i, error in ipairs(chain_errors) do
-					(session.log or log)("warn", "%d: %s", i, table.concat(chain_errors, ", "));
+					(session.log or log)("warn", "%d: %s", i, table.concat(chain_errors[i], ", "));
 				end
 				return nil, false;
 			end