From 3a893b4a576925f3830ee141257458f7e6190ce6 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 22 Jun 2025 07:36:18 -0700 Subject: TLS: fixes for test coverage and improved identification logging. --- src/supplemental/tls/tls_common.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/supplemental/tls/tls_common.c b/src/supplemental/tls/tls_common.c index 13b40e6e..f3186493 100644 --- a/src/supplemental/tls/tls_common.c +++ b/src/supplemental/tls/tls_common.c @@ -839,7 +839,10 @@ nni_tls_sys_init(void) NNG_TLS_ENGINE_VERSION); return (NNG_ENOTSUP); } - nng_log_info("NNG-TLS-INFO", "TLS Engine: %s", eng->description); + NNI_ASSERT(eng->version == NNG_TLS_ENGINE_VERSION); + nng_log_info("NNG-TLS-INFO", "TLS Engine: %s%s (%s)", + nng_tls_engine_name(), nng_tls_engine_fips_mode() ? " (FIPS)" : "", + nng_tls_engine_description()); return (eng->init()); } -- cgit v1.2.3-70-g09d2