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

Devchandra L Meetei via RT rt at openssl.org
Thu Sep 24 19:17:34 UTC 2015


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

-------------- next part --------------
_______________________________________________
openssl-bugs-mod mailing list
openssl-bugs-mod at openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod


More information about the openssl-dev mailing list