changeset 8564:b52b2a33b0e5 quic

QUIC: fixed build with OpenSSL after bed310672f39.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 01 Oct 2020 12:00:12 +0100
parents bed310672f39
children 0e12c4aca3ab
files src/event/ngx_event_quic.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/event/ngx_event_quic.c
+++ b/src/event/ngx_event_quic.c
@@ -1221,7 +1221,7 @@ ngx_quic_init_connection(ngx_connection_
     }
 
 #ifdef SSL_READ_EARLY_DATA_SUCCESS
-    if (SSL_CTX_get_max_early_data(qc->ssl->ctx)) {
+    if (SSL_CTX_get_max_early_data(qc->conf->ssl->ctx)) {
         SSL_set_quic_early_data_enabled(ssl_conn, 1);
     }
 #endif