aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-06-22 07:36:18 -0700
committerGarrett D'Amore <garrett@damore.org>2025-06-22 07:36:18 -0700
commit3a893b4a576925f3830ee141257458f7e6190ce6 (patch)
tree8b4e96d812ad1d8e7aaa50e9182ba21a178b09d2 /src
parent8135cbf74697b1ad9f89b134e3583088e99ecbe4 (diff)
downloadnng-3a893b4a576925f3830ee141257458f7e6190ce6.tar.gz
nng-3a893b4a576925f3830ee141257458f7e6190ce6.tar.bz2
nng-3a893b4a576925f3830ee141257458f7e6190ce6.zip
TLS: fixes for test coverage and improved identification logging.
Diffstat (limited to 'src')
-rw-r--r--src/supplemental/tls/tls_common.c5
1 files changed, 4 insertions, 1 deletions
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());
}