Fix broken asyncnet module.
This commit is contained in:
parent
c0a940380a
commit
f73dd02787
2 changed files with 2 additions and 2 deletions
|
|
@ -487,7 +487,7 @@ when defineSsl:
|
|||
## prone to security vulnerabilities.
|
||||
socket.isSsl = true
|
||||
socket.sslContext = ctx
|
||||
socket.sslHandle = SSLNew(SSLCTX(socket.sslContext))
|
||||
socket.sslHandle = SSLNew(socket.sslContext.context)
|
||||
if socket.sslHandle == nil:
|
||||
raiseSslError()
|
||||
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ when defineSsl:
|
|||
protSSLv2, protSSLv3, protTLSv1, protSSLv23
|
||||
|
||||
SslContext* = ref object
|
||||
context: SslCtx
|
||||
context*: SslCtx
|
||||
extraInternalIndex: int
|
||||
referencedData: HashSet[int]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue