Mercurial > hg > nginx
comparison src/event/quic/ngx_event_quic_ssl.c @ 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 | 7ea585a6ed0f |
children | 92729be0377b |
comparison
equal
deleted
inserted
replaced
8986:55359b950132 | 8987:30cad5a0931e |
---|---|
564 if (SSL_CTX_get_max_early_data(qc->conf->ssl->ctx)) { | 564 if (SSL_CTX_get_max_early_data(qc->conf->ssl->ctx)) { |
565 SSL_set_quic_early_data_enabled(ssl_conn, 1); | 565 SSL_set_quic_early_data_enabled(ssl_conn, 1); |
566 } | 566 } |
567 #endif | 567 #endif |
568 | 568 |
569 #if BORINGSSL_API_VERSION >= 13 | 569 #if (BORINGSSL_API_VERSION >= 13 && BORINGSSL_API_VERSION < 15) |
570 SSL_set_quic_use_legacy_codepoint(ssl_conn, 0); | 570 SSL_set_quic_use_legacy_codepoint(ssl_conn, 0); |
571 #endif | 571 #endif |
572 | 572 |
573 qsock = ngx_quic_get_socket(c); | 573 qsock = ngx_quic_get_socket(c); |
574 | 574 |