From: Arran Cudbard-Bell Date: Thu, 23 Dec 2021 03:26:38 +0000 (-0600) Subject: Don't need this in 1.1.1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffc2e0f5ad743841fc2e2273d7d8eea02ccde4a2;p=thirdparty%2Ffreeradius-server.git Don't need this in 1.1.1 --- diff --git a/src/lib/tls/session.c b/src/lib/tls/session.c index bddb17dedc7..3474dcebc46 100644 --- a/src/lib/tls/session.c +++ b/src/lib/tls/session.c @@ -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.