Changeset

2639:a7f683622b35

net.server_event: Fix another instance of creating an SSL context - certmanager now does this
author Matthew Wild <mwild1@gmail.com>
date Sun, 14 Feb 2010 20:36:54 +0000
parents 2638:115104acdd7b
children 2640:2dace3e87dd1
files net/server_event.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_event.lua	Sun Feb 14 20:15:17 2010 +0000
+++ b/net/server_event.lua	Sun Feb 14 20:36:54 2010 +0000
@@ -745,7 +745,7 @@
 				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