QUIC: adjusted OpenSSL 3.5 QUIC API feature test.

A bug with the "quic_transport_parameters" extension and SNI described
in cedb855d7 is now fixed in the OpenSSL 3.5.1 release, as requested
in https://github.com/openssl/openssl/pull/27706.
This commit is contained in:
Sergey Kandaurov 2025-06-22 20:40:05 +04:00 committed by pluknet
parent d1843e1d9b
commit 0bb7489cb2

View File

@ -12,11 +12,8 @@
#include <ngx_core.h> #include <ngx_core.h>
#ifdef OSSL_RECORD_PROTECTION_LEVEL_NONE #if (OPENSSL_VERSION_NUMBER >= 0x30500010L)
#ifndef NGX_QUIC_OPENSSL_API #define NGX_QUIC_OPENSSL_API 1
#define NGX_QUIC_BORINGSSL_API 1
#define NGX_QUIC_OPENSSL_COMPAT 1
#endif
#elif (defined SSL_R_MISSING_QUIC_TRANSPORT_PARAMETERS_EXTENSION) #elif (defined SSL_R_MISSING_QUIC_TRANSPORT_PARAMETERS_EXTENSION)
#define NGX_QUIC_QUICTLS_API 1 #define NGX_QUIC_QUICTLS_API 1