]> git.kaiwu.me - nginx.git/commitdiff
QUIC: limited SSL_set_quic_use_legacy_codepoint() API usage.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 27 Jan 2022 10:14:01 +0000 (13:14 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Thu, 27 Jan 2022 10:14:01 +0000 (13:14 +0300)
As advertised in BoringSSL a1d3bfb64fd7ef2cb178b5b515522ffd75d7b8c5,
it may be dropped once callers implementing the draft versions cycle out.

src/event/quic/ngx_event_quic_ssl.c

index 9220f9870b9cb784dbaaf313bd24a028a27af6d4..a10fe197b39c38208422d93519d7314eab3848bd 100644 (file)
@@ -566,7 +566,7 @@ ngx_quic_init_connection(ngx_connection_t *c)
     }
 #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