aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_saslauth.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index 6aeb0e6a..bd5de928 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -274,7 +274,7 @@ local function tls_server_end_point(self)
if not certfile then return end
local f = io.open(certfile);
if not f then return end
- local certdata = f:read("*");
+ local certdata = f:read("*a");
cert = ssl.loadcertificate(certdata);
end