Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SSL_session_reused API #1275

Open
adiroiban opened this issue Dec 9, 2023 · 1 comment · May be fixed by #1276
Open

Use SSL_session_reused API #1275

adiroiban opened this issue Dec 9, 2023 · 1 comment · May be fixed by #1276

Comments

@adiroiban
Copy link

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
Copy link
Author

I'm working on a PR for this

@adiroiban adiroiban linked a pull request Dec 9, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant