Mercurial > hg > nginx
diff src/event/quic/ngx_event_quic_ssl.c @ 8865:646bb5361437 quic
Configure: check for QUIC 0-RTT support at compile time.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 27 Sep 2021 10:10:37 +0300 |
parents | 4df9795fb77f |
children | 66b4ff373dd9 |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_ssl.c +++ b/src/event/quic/ngx_event_quic_ssl.c @@ -549,7 +549,7 @@ ngx_quic_init_connection(ngx_connection_ return NGX_ERROR; } -#if (NGX_OPENSSL_QUIC_ZRTT_CTX) +#if BORINGSSL_API_VERSION >= 11 if (SSL_set_quic_early_data_context(ssl_conn, p, clen) == 0) { ngx_log_error(NGX_LOG_INFO, c->log, 0, "quic SSL_set_quic_early_data_context() failed");