openssl: fix erroneous function signatures
Now matches the declaration in openssl/err.h
This commit is contained in:
parent
78982b52f0
commit
f243f9aeb5
2 changed files with 3 additions and 5 deletions
|
|
@ -479,8 +479,6 @@ when defineSsl:
|
|||
let err = ERR_peek_last_error()
|
||||
if err == 0:
|
||||
raise newException(SslError, "No error reported.")
|
||||
if err == -1:
|
||||
raiseOSError(osLastError())
|
||||
var errStr = $ERR_error_string(err, nil)
|
||||
case err
|
||||
of 336032814, 336032784:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue