aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2022-01-27 13:14:01 +0300
committerSergey Kandaurov <pluknet@nginx.com>2022-01-27 13:14:01 +0300
commitf87630ab49d053d35829e8c2e2160e66495f3a2d (patch)
tree70c0d759b4a2630db159b0929684344392c62c43 /src
parent9a9cb1982fc4232f74b5f7465876126670009c31 (diff)
downloadnginx-f87630ab49d053d35829e8c2e2160e66495f3a2d.tar.gz
nginx-f87630ab49d053d35829e8c2e2160e66495f3a2d.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/event/quic/ngx_event_quic_ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/quic/ngx_event_quic_ssl.c b/src/event/quic/ngx_event_quic_ssl.c
index 9220f9870..a10fe197b 100644
--- 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_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