Use SSL_session_reused API
adiroiban opened this issue · 1 comments
adiroiban commented
I guess that this should be OpenSSL.SSL.Connection.session_reused()
It should return the number 1 or 0 to keep it as close a possible to the OpenSSL API.
It should not return a boolean.
I see that OpenSSL.SSL.Connection.renegotiate_pending()
return a boolean, but SSL_renegotiate_pending returns an int.
adiroiban commented
I'm working on a PR for this