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.
The attached patch adds a new API, which returns the ```server``` member of
```ssl_st```.
> int SSL_get_role(const SSL *s)
It currently does not have any test included and Will be happy to update
the patch with test case if openssl team is okay with the API change.
--
Warm Regards
--Dev
OpenPegasus Developer
"I'm one of those people that think Thomas Edison and the light bulb
changed the world more than Karl Marx ever did,” Steve Jobs
_______________________________________________
openssl-bugs-mod mailing list
[email protected]
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev