# HG changeset patch # User Sergey Kandaurov # Date 1601550012 -3600 # Node ID b52b2a33b0e5d4546f023546b54a11bbd6c8ddf1 # Parent bed310672f39b8c5e5c7eed897029e1bdcfa80af QUIC: fixed build with OpenSSL after bed310672f39. diff -r bed310672f39 -r b52b2a33b0e5 src/event/ngx_event_quic.c --- a/src/event/ngx_event_quic.c Thu Oct 01 10:04:35 2020 +0300 +++ b/src/event/ngx_event_quic.c Thu Oct 01 12:00:12 2020 +0100 @@ -1221,7 +1221,7 @@ } #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