From: Alan T. DeKok Date: Tue, 28 Sep 2021 14:40:36 +0000 (-0400) Subject: more typo fixes X-Git-Tag: release_3_0_24~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=030233c6b4cb2d4d68ef1741b8f3777c319e1af5;p=thirdparty%2Ffreeradius-server.git more typo fixes --- diff --git a/src/main/tls.c b/src/main/tls.c index e2dfccdaf5..fff8772805 100644 --- a/src/main/tls.c +++ b/src/main/tls.c @@ -3439,7 +3439,7 @@ static int set_ecdh_curve(SSL_CTX *ctx, char const *ecdh_curve, bool disable_sin if (!ecdh_curve || !*ecdh_curve) return 0; -#if OPENSSL_VERSION_NUMBER >= 0x0100020fL +#if OPENSSL_VERSION_NUMBER >= 0x1000200fL if (strchr(ecdh_curve, ':') != 0) { char *list = strdup(ecdh_curve); @@ -4681,7 +4681,7 @@ skip_list: /* * OpenSSL 1.0.1f and 1.0.1g get the MS-MPPE keys wrong. */ -#if (OPENSSL_VERSION_NUMBER >= 0x10010060L) && (OPENSSL_VERSION_NUMBER < 0x10010060L) +#if (OPENSSL_VERSION_NUMBER >= 0x1010106L) && (OPENSSL_VERSION_NUMBER <= 0x1010107L) conf->disable_tlsv1_2 = true; WARN(LOG_PREFIX ": Disabling TLSv1.2 due to OpenSSL bugs"); #endif