We had been logging it every two hours forever, even though it's based
on the version of OpenSSL we're using it so it will never change.
Fixes bug #41093.
The fix is an improvement on commit
ba88ad6b which addressed #41058.
Not adding a changes file since those commits haven't gone out in a
release yet either.
}
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;
}