aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-02-14 20:36:54 +0000
committerMatthew Wild <mwild1@gmail.com>2010-02-14 20:36:54 +0000
commit606d78db9c69ec119f6343ae0cdfda9569a2867c (patch)
treebd8da13e34baa8791907cbd48803baad89af87cd
parente7b5d8c9c123a7117a62f54678857a2f78d22b55 (diff)
downloadprosody-606d78db9c69ec119f6343ae0cdfda9569a2867c.tar.gz
prosody-606d78db9c69ec119f6343ae0cdfda9569a2867c.zip
net.server_event: Fix another instance of creating an SSL context - certmanager now does this
-rw-r--r--net/server_event.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index a45b12db..978341ad 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -745,7 +745,7 @@ do
debug "need luasec, but not available"
return nil, "luasec not found"
end
- sslctx, err = ssl.newcontext( sslcfg )
+ sslctx, err = sslcfg
if err then
debug( "cannot create new ssl context:", err )
return nil, err