aboutsummaryrefslogtreecommitdiff
path: root/src/event
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2025-06-22 20:40:05 +0400
committerpluknet <pluknet@nginx.com>2025-07-03 22:50:25 +0400
commit0bb7489cb2fcc60ce24fae2d5581c7441bfa0931 (patch)
treef6a48c6a1bf62faabe2e05b31a6bfc2baf92c024 /src/event
parentd1843e1d9b9aec98c2aceabf4709e40ed4b2a96f (diff)
downloadnginx-master.tar.gz
nginx-master.zip
QUIC: adjusted OpenSSL 3.5 QUIC API feature test.HEADmaster
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.
Diffstat (limited to 'src/event')
-rw-r--r--src/event/quic/ngx_event_quic.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/event/quic/ngx_event_quic.h b/src/event/quic/ngx_event_quic.h
index 335d87191..bab085f46 100644
--- a/src/event/quic/ngx_event_quic.h
+++ b/src/event/quic/ngx_event_quic.h
@@ -12,11 +12,8 @@
#include <ngx_core.h>
-#ifdef OSSL_RECORD_PROTECTION_LEVEL_NONE
-#ifndef NGX_QUIC_OPENSSL_API
-#define NGX_QUIC_BORINGSSL_API 1
-#define NGX_QUIC_OPENSSL_COMPAT 1
-#endif
+#if (OPENSSL_VERSION_NUMBER >= 0x30500010L)
+#define NGX_QUIC_OPENSSL_API 1
#elif (defined SSL_R_MISSING_QUIC_TRANSPORT_PARAMETERS_EXTENSION)
#define NGX_QUIC_QUICTLS_API 1