Comparison

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
comparison
equal deleted inserted replaced
2637:82cfc1ec4a7c 2638:115104acdd7b
702 if sslcfg then 702 if sslcfg then
703 if not ssl then 703 if not ssl then
704 debug "fatal error: luasec not found" 704 debug "fatal error: luasec not found"
705 return nil, "luasec not found" 705 return nil, "luasec not found"
706 end 706 end
707 sslctx, err = ssl.newcontext( sslcfg ) 707 sslctx, err = sslcfg
708 if err then 708 if err then
709 debug( "error while creating new ssl context for server socket:", err ) 709 debug( "error while creating new ssl context for server socket:", err )
710 return nil, err 710 return nil, err
711 end 711 end
712 end 712 end