# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1698135841 -3600
# Node ID 8b3da19b0aeafa6463083e55e31f5de5d60e9769
# Parent  63419a628c696a02aa08bf1e528e8fa5dc95ecb7
mod_saslauth: Actively close cert file after reading

Explicit > implicit

diff -r 63419a628c69 -r 8b3da19b0aea plugins/mod_saslauth.lua
--- a/plugins/mod_saslauth.lua	Tue Oct 24 09:23:31 2023 +0100
+++ b/plugins/mod_saslauth.lua	Tue Oct 24 09:24:01 2023 +0100
@@ -275,6 +275,7 @@
 		local f = io.open(certfile);
 		if not f then return end
 		local certdata = f:read("*a");
+		f:close();
 		cert = ssl.loadcertificate(certdata);
 	end