diff options
author | Ruslan Ermilov <ru@nginx.com> | 2021-09-27 10:10:37 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2021-09-27 10:10:37 +0300 |
commit | 8ce1c2c7e9abc90a63ad74df5ad4cc7c37b24c87 (patch) | |
tree | 0e45d9354464330c65f761392f64cb89da478fab /src | |
parent | 2cd173d450cbb61291c772556609bcfbc9da1170 (diff) | |
download | nginx-8ce1c2c7e9abc90a63ad74df5ad4cc7c37b24c87.tar.gz nginx-8ce1c2c7e9abc90a63ad74df5ad4cc7c37b24c87.zip |
Configure: check for QUIC 0-RTT support at compile time.
Diffstat (limited to 'src')
-rw-r--r-- | src/event/quic/ngx_event_quic_ssl.c | 2 |
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 f589d74ac..6e2377eac 100644 --- 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_t *c) 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"); |