# HG changeset patch # User Sergey Kandaurov # Date 1643278441 -10800 # Node ID 30cad5a0931e5fd418e2e304b4a6ed5252d39aa2 # Parent 55359b950132daa4a9d72f318102f31d1ee41fef 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. diff --git a/src/event/quic/ngx_event_quic_ssl.c b/src/event/quic/ngx_event_quic_ssl.c --- 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