]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Don't need this in 1.1.1
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 23 Dec 2021 03:26:38 +0000 (21:26 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 23 Dec 2021 03:26:38 +0000 (21:26 -0600)
src/lib/tls/session.c

index bddb17dedc7b7ed008df9e655e090f1c1f9f330e..3474dcebc46c3a2bda57ef904f25dbbbd57836c7 100644 (file)
@@ -1369,6 +1369,7 @@ static unlang_action_t tls_session_async_handshake_cont(rlm_rcode_t *p_result, i
                return UNLANG_ACTION_CALCULATE_RESULT;
        }
 
+#if OPENSSL_VERSION_NUMBER >= 0x30000000L
        /*
         *      Bug in OpenSSL 3.0 - Normal handshaking behaviour
         *      results in spurious "BIO_R_UNSUPPORTED_METHOD"
@@ -1402,6 +1403,7 @@ DIAG_OFF(used-but-marked-unused)
                }
 DIAG_ON(used-but-marked-unused)
        }
+#endif
 
        /*
         *      Deal with asynchronous requests from OpenSSL.