[openssl-dev] [openssl.org #4061] [PATCH] Request for new API to get role of SSL

Stephen Henson via RT rt at openssl.org
Thu Sep 24 20:00:57 UTC 2015


On Thu Sep 24 19:17:34 2015, dlmeetei at gmail.com wrote:
> In a bid to use openssl's non blocking mode with bio pair, we are calling
> SSL_do_handshake to perform handshake and we would like to do callback
> based on role of SSL.
>
> and Seems that OpenSSL does not expose any APi for doing the same.
>

There is the function SSL_is_server().

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org



More information about the openssl-dev mailing list