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

Respect ClientAuth set via OpenSslEngine constructor #4576

Closed
wants to merge 1 commit into from

Conversation

normanmaurer
Copy link
Member

Motivation:

When ClientAuth is set via SslContextBuilder we pass it into the OpenSslEngine constructor. Due a bug we missed to call the correct native methods and so never enabled ClientAuth in this case.

Modifications:

Correctly call setClientAuth(...) in the constructor if needed.

Result:

client auth also works when configured via the SslContextBuilder and OPENSSL is used.

Motivation:

When ClientAuth is set via SslContextBuilder we pass it into the OpenSslEngine constructor. Due a bug we missed to call the correct native methods and so never enabled ClientAuth in this case.

Modifications:

Correctly call setClientAuth(...) in the constructor if needed.

Result:

client auth also works when configured via the SslContextBuilder and OPENSSL is used.
@normanmaurer normanmaurer self-assigned this Dec 16, 2015
@normanmaurer normanmaurer added this to the 4.0.34.Final milestone Dec 16, 2015
@normanmaurer
Copy link
Member Author

@trustin PTAL.

@normanmaurer
Copy link
Member Author

Cherry-picked into 4.0 (ca79ba7) , 4.1 (eb577c5) and master (5949aeb)

@normanmaurer normanmaurer deleted the openssl_builder_client_auth branch December 16, 2015 14:40
@jchambers jchambers mentioned this pull request Dec 30, 2015
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants