1 diff -wpruN --no-dereference '--exclude=*.orig' a~/src/main/tls.c a/src/main/tls.c
2 --- a~/src/main/tls.c 1970-01-01 00:00:00
3 +++ a/src/main/tls.c 1970-01-01 00:00:00
4 @@ -1824,7 +1824,7 @@ static int load_dh_params(SSL_CTX *ctx,
6 * Change suggested by @t8m
8 -#if OPENSSL_VERSION_NUMBER >= 0x10101000L
9 +#if (OPENSSL_VERSION_NUMBER >= 0x10101000L) && (OPENSSL_VERSION_NUMBER < 0x30000000L)
10 if (FIPS_mode() > 0) {
11 WARN(LOG_PREFIX ": Ignoring user-selected DH parameters in FIPS mode. Using defaults.");