]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Stupid hack still needed in 3.0.1
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 23 Dec 2021 03:21:08 +0000 (21:21 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 23 Dec 2021 03:21:08 +0000 (21:21 -0600)
src/lib/tls/session.c

index d0c878e9a4368cc93ac2e27683b27d20ac659d09..bddb17dedc7b7ed008df9e655e090f1c1f9f330e 100644 (file)
@@ -1369,7 +1369,6 @@ 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"
@@ -1380,12 +1379,6 @@ static unlang_action_t tls_session_async_handshake_cont(rlm_rcode_t *p_result, i
         *      SSL_ERROR_WANT_ASYNC and causes the handshake to
         *      fail.
         *
-        *      This was fixed in:
-        *      https://github.com/openssl/openssl/commit/398ae8231650c4bd8ddff0e5efd38233c23b1ca0
-        *
-        *      So this code is only needed for OpenSSL 3.0.0
-        *      and not later versions.
-        *
         *      Note: We may want some version of this code
         *      included for all OpenSSL versions.
         *
@@ -1409,7 +1402,6 @@ DIAG_OFF(used-but-marked-unused)
                }
 DIAG_ON(used-but-marked-unused)
        }
-#endif
 
        /*
         *      Deal with asynchronous requests from OpenSSL.