revert 0944b0f4
This commit is contained in:
parent
842efab8ae
commit
ebaf603c84
10 changed files with 85 additions and 85 deletions
|
|
@ -313,10 +313,10 @@ proc fileError(msg: string) =
|
|||
raise e
|
||||
|
||||
when not defined(ssl):
|
||||
type SslContext = ref object
|
||||
var defaultSslContext {.threadvar.}: SslContext
|
||||
type SSLContext = ref object
|
||||
var defaultSslContext {.threadvar.}: SSLContext
|
||||
|
||||
proc getDefaultSSL(): SslContext =
|
||||
proc getDefaultSSL(): SSLContext =
|
||||
result = defaultSslContext
|
||||
when defined(ssl):
|
||||
if result == nil:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue