]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
more typo fixes
authorAlan T. DeKok <aland@freeradius.org>
Tue, 28 Sep 2021 14:40:36 +0000 (10:40 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 28 Sep 2021 14:40:36 +0000 (10:40 -0400)
src/main/tls.c

index e2dfccdaf56ee9ea6cd6ec197c44b0d68ee8b486..fff87728058b418aa5749634c6d7291e10a9020c 100644 (file)
@@ -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