Software /
code /
prosody
Diff
net/server_event.lua @ 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 |
parent | 2638:115104acdd7b |
child | 2641:b083a667e3be |
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