Diff

net/server_event.lua @ 2638:115104acdd7b

net.server_event: Fix traceback in creating SSL context
author Matthew Wild <mwild1@gmail.com>
date Sun, 14 Feb 2010 20:15:17 +0000
parent 2599:cc6164d85024
child 2639:a7f683622b35
line wrap: on
line diff
--- a/net/server_event.lua	Sun Feb 14 18:41:44 2010 +0000
+++ b/net/server_event.lua	Sun Feb 14 20:15:17 2010 +0000
@@ -704,7 +704,7 @@
 				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