# HG changeset patch # User Sergey Kandaurov # Date 1601550012 -3600 # Node ID b52b2a33b0e5d4546f023546b54a11bbd6c8ddf1 # Parent bed310672f39b8c5e5c7eed897029e1bdcfa80af QUIC: fixed build with OpenSSL after bed310672f39. diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c --- 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