Add missing parameter when delegate to SSLEngine.

Motivation:

https://github.com/netty/netty/pull/7943 had a bug which caused to not have the argument passed to the delegating method.

Modifications:

Add argument to release call.

Result:

Correctly delegate method.
This commit is contained in:
Norman Maurer 2018-05-16 20:01:58 +02:00
parent 0bce0450c0
commit 47985c11c1

View File

@ -416,7 +416,7 @@ final class OpenSslErrorStackAssertSSLEngine extends JdkSslEngine implements Ref
@Override
public boolean release(int decrement) {
return getWrappedEngine().release();
return getWrappedEngine().release(decrement);
}
@Override