aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-02-14 20:15:17 +0000
committerMatthew Wild <mwild1@gmail.com>2010-02-14 20:15:17 +0000
commite7b5d8c9c123a7117a62f54678857a2f78d22b55 (patch)
treef6af5d34c9e64801a8a9c8b01c811557dc41072d /net/server_event.lua
parent97a4cee8857283ba33d118afbd232b2b22e71ecb (diff)
downloadprosody-e7b5d8c9c123a7117a62f54678857a2f78d22b55.tar.gz
prosody-e7b5d8c9c123a7117a62f54678857a2f78d22b55.zip
net.server_event: Fix traceback in creating SSL context
Diffstat (limited to 'net/server_event.lua')
-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 e79a57d0..a45b12db 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -704,7 +704,7 @@ local addserver = ( function( )
debug "fatal error: luasec not found"
return nil, "luasec not found"
end
- sslctx, err = ssl.newcontext( sslcfg )
+ sslctx, err = sslcfg
if err then
debug( "error while creating new ssl context for server socket:", err )
return nil, err