Fix compile error introduced by bad cherry-pick of 3c5b6c3e66

This commit is contained in:
Norman Maurer 2021-08-20 19:02:09 +02:00
parent 3c5b6c3e66
commit f0ffb6ac2e

View File

@ -367,7 +367,11 @@ public class ReferenceCountedOpenSslEngine extends SSLEngine implements Referenc
// for client auth.
//
// See https://github.com/netty/netty/issues/11529
SSL.setRenegotiateMode(ssl, SSL.SSL_RENEGOTIATE_ONCE);
try {
SSL.setRenegotiateMode(ssl, SSL.SSL_RENEGOTIATE_ONCE);
} catch (Exception e) {
throw new IllegalStateException(e);
}
}
// setMode may impact the overhead.
calculateMaxWrapOverhead();