]> git.kaiwu.me - nginx.git/commitdiff
QUIC: fixed build with OpenSSL after bed310672f39.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 1 Oct 2020 11:00:12 +0000 (12:00 +0100)
committerSergey Kandaurov <pluknet@nginx.com>
Thu, 1 Oct 2020 11:00:12 +0000 (12:00 +0100)
src/event/ngx_event_quic.c

index a9c0921769585961224839d5485cffd0cf86980e..61e46a471bccaabd5138db4fe409fb90677b76cd 100644 (file)
@@ -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