commit 8216fd1bb02c756de616eb4bd63db8c85925b8b4
parent 933c5491db00c703d5d8264fdabd5a5b10aff96f
Author: David Goulet <dgoulet@torproject.org>
Date: Mon, 9 Jun 2025 09:36:26 -0400
Merge branch 'maint-0.4.8'
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/lib/tls/tortls_openssl.c b/src/lib/tls/tortls_openssl.c
@@ -578,7 +578,12 @@ tor_tls_context_new(crypto_pk_t *identity, unsigned int key_lifetime,
}
int r = (int) SSL_CTX_set1_groups_list(result->ctx, list);
if (r == 1) {
- log_notice(LD_NET, "Set list of supported TLS groups to: %s", list);
+ static bool have_logged_already = false;
+ if (!have_logged_already) {
+ /* say it only once at startup, since the answer won't change */
+ log_notice(LD_NET, "Set list of supported TLS groups to: %s", list);
+ have_logged_already = true;
+ }
success = true;
break;
}