mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_saslauth: Fix read format string (thanks tmolitor)
This commit is contained in:
parent
7b882e4405
commit
a4c91c7646
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ local function tls_server_end_point(self)
|
||||||
if not certfile then return end
|
if not certfile then return end
|
||||||
local f = io.open(certfile);
|
local f = io.open(certfile);
|
||||||
if not f then return end
|
if not f then return end
|
||||||
local certdata = f:read("*");
|
local certdata = f:read("*a");
|
||||||
cert = ssl.loadcertificate(certdata);
|
cert = ssl.loadcertificate(certdata);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue