From 8dca49f43e5b646ac6a44f9ba591efd6547b72d0 Mon Sep 17 00:00:00 2001 From: Michael Ortmann <41313082+michaelortmann@users.noreply.github.com> Date: Thu, 11 Jul 2024 08:41:32 +0200 Subject: [PATCH] Enhance TODO doc --- src/tls.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/tls.c b/src/tls.c index 0fbcc2f5b..7fc0b3e69 100644 --- a/src/tls.c +++ b/src/tls.c @@ -222,10 +222,12 @@ int ssl_init() tls_certfile, ERR_error_string(ERR_get_error(), NULL)); fatal("Unable to load TLS certificate (ssl-certificate config setting)!", 0); } + /* TODO: sha256 fingerprint * print this fingerprint to every user / every partyline login - * maybe only print it when webui is enabled */ - + * maybe only print it when webui is enabled + * compatibility to older openssl is possible, similar to #1411 + * this functionality could be sepped into a side-PR */ putlog(LOG_MISC, "*", "Certificate loaded: %s (sha1 fingerprint %s)", tls_certfile, ssl_getfp_from_cert(SSL_CTX_get0_certificate(ssl_ctx)));