netty5/handler/src/main/java/io
Norman Maurer 71467892bf
OpenSslSession.getLocalCertificates() and getLocalPrincipal() must r… (#10275)
Motivation:

OpenSslSession.getLocalCertificates() and  getLocalPrincipal() must return null on client side if mTLS is not used as stated in the API documentation. At the moment this is not always the case

Modifications:

- Ensure we only return non-null if mTLS is used
- Add unit tests

Result:

Follow SSLSession API contract
2020-05-13 07:16:27 +02:00
..
netty/handler OpenSslSession.getLocalCertificates() and getLocalPrincipal() must r… (#10275) 2020-05-13 07:16:27 +02:00