node/src/quic/guard.h
James M Snell 0e754fa5d1 quic: start re-enabling quic with openssl 3.5
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>
2025-08-03 13:48:27 -07:00

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