Skip to content

SSLEngine.closeInbound() should throw SSLException if no close notification was received #839

Description

@normanmaurer

During testing conscrypt in the netty testsuite we encountered that Conscrypt does not correct implement SSLEngine.closeInbound().

See https://github.com/netty/netty/pull/10211/files#diff-08da41869dfc1d842df441440b1c605bR2184

If you call closeInbound() and you did not receive a proper SSL/TLS close notification before it must throw an SSLException.

See also https://docs.oracle.com/javase/7/docs/api/javax/net/ssl/SSLEngine.html#closeInbound()

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions