SSL_do_handshake

Start an SSL handshake

If the object is blocking, the function will return only once the handshake is complete. If it is non-blocking, it will return with a negative value which specifies the next action required.

extern (C)
int
SSL_do_handshake
()

Parameters

ssl SSL*

the ssl object

Return Value

Type: int

1 if the handshake succeeded. Any value <= 0 should be passed to SSL_get_error to find the reason why the connection is not complete.

Meta