'Perform an SSL handshake (usually called after renegotiate() or one of
set_*_state()). This can raise the same exceptions as send and recv.
:return: None.'

def do_handshake(self):

    result = _lib.SSL_do_handshake(self._ssl)
    self._raise_ssl_error(self._ssl, result)
