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

[WFSSL-74] Update the error message that occurs when OpenSSLEngine#closeInbound is called before receiving the close_notify message from the peer so that it's consistent with the JDK SSLEngine #105

Merged
merged 1 commit into from
May 18, 2021

Conversation

fjuma
Copy link
Contributor

@fjuma fjuma commented May 17, 2021

https://issues.redhat.com/browse/WFSSL-74

As described in WFSSL-74, some Infinispan tests make use of Netty's SslHandler. When SslHandler#setHandshakeFailure is called, it is supposed to swallow an SSLException after calling closeInbound if this is called before receiving the close_notify message from the peer (it's ok to swallow the exception in this case because the connection is about to be closed). To determine whether or not the exception should be swallowed, Netty's SslHandler is looking for a specific string that matches the error message thrown by the JDK SSLEngine.

This PR updates our error message in this case so that it is consistent with the JDK's error message.

…oseInbound is called before receiving the close_notify message from the peer so that it's consistent with the JDK SSLEngine
@darranl darranl merged commit ab71a50 into wildfly-security:master May 18, 2021
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.

3 participants