mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 05:38:47 +02:00

Start working on re-enabling QUIC support with the availability of OpenSSL 3.5. This will be a multi-step process. Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/59249 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
13 lines
349 B
C
13 lines
349 B
C
#pragma once
|
|
|
|
#if HAVE_OPENSSL
|
|
#include <openssl/opensslv.h>
|
|
// QUIC is only available in Openssl 3.5.x and later. It was not introduced in
|
|
// Node.js until 3.5.1... prior to that we will not compile any of the QUIC
|
|
// related code.
|
|
#if OPENSSL_VERSION_NUMBER < 0x30500010
|
|
#define OPENSSL_NO_QUIC = 1
|
|
#endif
|
|
#else
|
|
#define OPENSSL_NO_QUIC = 1
|
|
#endif
|