From 154536a64fd7b6bc567e976bde0b6edd00c3cd65 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Thu, 1 Oct 2020 12:00:12 +0100 Subject: QUIC: fixed build with OpenSSL after bed310672f39. --- src/event/ngx_event_quic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index a9c092176..61e46a471 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -1221,7 +1221,7 @@ ngx_quic_init_connection(ngx_connection_t *c) } #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 -- cgit