changeset 8987:30cad5a0931e quic

QUIC: limited SSL_set_quic_use_legacy_codepoint() API usage. As advertised in BoringSSL a1d3bfb64fd7ef2cb178b5b515522ffd75d7b8c5, it may be dropped once callers implementing the draft versions cycle out.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 27 Jan 2022 13:14:01 +0300
parents 55359b950132
children 6434160b4b78
files src/event/quic/ngx_event_quic_ssl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_ssl.c
+++ b/src/event/quic/ngx_event_quic_ssl.c
@@ -566,7 +566,7 @@ ngx_quic_init_connection(ngx_connection_
     }
 #endif
 
-#if BORINGSSL_API_VERSION >= 13
+#if (BORINGSSL_API_VERSION >= 13 && BORINGSSL_API_VERSION < 15)
     SSL_set_quic_use_legacy_codepoint(ssl_conn, 0);
 #endif