wrappers/openssl: fix SSL_CTX_set_mode
Follow up of 794042080b270d9da8d64bb4285ce83787bdec7e
This commit is contained in:
parent
61d4fbce4f
commit
b5b191af4b
1 changed files with 1 additions and 1 deletions
|
|
@ -546,7 +546,7 @@ proc SSL_CTX_callback_ctrl(ctx: SslCtx, typ: cint, fp: PFunction): int{.
|
|||
cdecl, dynlib: DLLSSLName, importc.}
|
||||
|
||||
proc SSLCTXSetMode*(ctx: SslCtx, mode: int): int =
|
||||
result = SSL_CTX_ctrl(ctx, SSL_CTRL_MODE, mode, nil)
|
||||
result = SSL_CTX_ctrl(ctx, SSL_CTRL_MODE, clong mode, nil)
|
||||
|
||||
proc SSL_ctrl*(ssl: SslPtr, cmd: cint, larg: int, parg: pointer): int{.
|
||||
cdecl, dynlib: DLLSSLName, importc.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue