diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-06-22 07:36:18 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-06-22 07:36:18 -0700 |
| commit | 3a893b4a576925f3830ee141257458f7e6190ce6 (patch) | |
| tree | 8b4e96d812ad1d8e7aaa50e9182ba21a178b09d2 /src/supplemental | |
| parent | 8135cbf74697b1ad9f89b134e3583088e99ecbe4 (diff) | |
| download | nng-3a893b4a576925f3830ee141257458f7e6190ce6.tar.gz nng-3a893b4a576925f3830ee141257458f7e6190ce6.tar.bz2 nng-3a893b4a576925f3830ee141257458f7e6190ce6.zip | |
TLS: fixes for test coverage and improved identification logging.
Diffstat (limited to 'src/supplemental')
| -rw-r--r-- | src/supplemental/tls/tls_common.c | 5 |
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()); } |
