QUIC: fixed build with OpenSSL after bed310672f39.

This commit is contained in:
Sergey Kandaurov 2020-10-01 12:00:12 +01:00
parent 0f843cfb74
commit 154536a64f

View 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