This commit is contained in:
parent
a7aeabb9d2
commit
0944b0f441
11 changed files with 109 additions and 109 deletions
|
|
@ -280,10 +280,10 @@ proc fileError(msg: string) =
|
|||
|
||||
|
||||
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