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

Add renegotiation cb #121

Merged
merged 2 commits into from Feb 16, 2017
Merged

Add renegotiation cb #121

merged 2 commits into from Feb 16, 2017

Conversation

lampad
Copy link
Contributor

@lampad lampad commented Jan 18, 2017

An attempt to resolve: #120

Let me know if you think the callback call is in the correct place. Based on comparing what CRuby does, which basically delegates to OpenSSL, I think the current location makes the most sense, but I also played around with putting it at the start of the doHandshake() method.

I had some difficulty getting my environment set up correctly, and wasn't able to run the full ruby test suite, but the java tests and the tests in the test_ssl.rb pass. I'm hoping the CI keeps me honest.

@kares kares merged commit 279bd0a into jruby:master Feb 16, 2017
@kares
Copy link
Member

kares commented Feb 16, 2017

@lampad well done, thanks!

@lampad lampad deleted the add_renegotiation_cb branch February 16, 2017 17:23
kares added a commit that referenced this pull request Mar 2, 2017
* 'master' of github.com:jruby/jruby-openssl:
  Add renegotiation cb (#121)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

renegotiation_cb attribute missing on OpenSSL::SSL::SSLContext
2 participants