Fix couple of return types
parent
008b3da487
commit
619a2d6015
|
@ -21,7 +21,7 @@ bio_new() = bio_new(s_mem())
|
||||||
function set_bio!(client::SSLClient, rbio, wbio)
|
function set_bio!(client::SSLClient, rbio, wbio)
|
||||||
client.rbio = rbio
|
client.rbio = rbio
|
||||||
client.wbio = wbio
|
client.wbio = wbio
|
||||||
ccall((:SSL_set_bio, libssl), Ptr{Cvoid}, (Ptr{Cvoid},Ptr{Cvoid},Ptr{Cvoid}),
|
ccall((:SSL_set_bio, libssl), Cvoid, (Ptr{Cvoid},Ptr{Cvoid},Ptr{Cvoid}),
|
||||||
client.ssl, rbio, wbio)
|
client.ssl, rbio, wbio)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
function set_options!(ctx::SSLContext, options::UInt32)
|
function set_options!(ctx::SSLContext, options::UInt32)
|
||||||
ccall((:SSL_CTX_set_options, libssl), Ptr{Cvoid}, (Ptr{Cvoid}, Clong),
|
ccall((:SSL_CTX_set_options, libssl), Clong, (Ptr{Cvoid}, Clong),
|
||||||
ctx.ptr, options)
|
ctx.ptr, options)
|
||||||
nothing
|
nothing
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue