Log used native library by netty-tcnative

Motivation:

As netty-tcnative can be build against different native libraries and versions we should log the used one.

Modifications:

Log the used native library after netty-tcnative was loaded.

Result:

Easier to understand what native SSL library was used.
This commit is contained in:
Norman Maurer 2017-02-19 13:34:15 +01:00
parent 007e8969c1
commit c57a1bdb2d
1 changed files with 2 additions and 0 deletions

View File

@ -112,6 +112,8 @@ public final class OpenSsl {
UNAVAILABILITY_CAUSE = cause;
if (cause == null) {
logger.debug("netty-tcnative using native library: {}", SSL.versionString());
final Set<String> availableOpenSslCipherSuites = new LinkedHashSet<String>(128);
boolean supportsKeyManagerFactory = false;
boolean useKeyManagerFactory = false;