Mercurial > hg > nginx-quic
comparison src/event/ngx_event_quic.c @ 8102:b52b2a33b0e5 quic
QUIC: fixed build with OpenSSL after bed310672f39.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 01 Oct 2020 12:00:12 +0100 |
parents | bed310672f39 |
children | 0e12c4aca3ab |
comparison
equal
deleted
inserted
replaced
8101:bed310672f39 | 8102:b52b2a33b0e5 |
---|---|
1219 "quic SSL_set_quic_method() failed"); | 1219 "quic SSL_set_quic_method() failed"); |
1220 return NGX_ERROR; | 1220 return NGX_ERROR; |
1221 } | 1221 } |
1222 | 1222 |
1223 #ifdef SSL_READ_EARLY_DATA_SUCCESS | 1223 #ifdef SSL_READ_EARLY_DATA_SUCCESS |
1224 if (SSL_CTX_get_max_early_data(qc->ssl->ctx)) { | 1224 if (SSL_CTX_get_max_early_data(qc->conf->ssl->ctx)) { |
1225 SSL_set_quic_early_data_enabled(ssl_conn, 1); | 1225 SSL_set_quic_early_data_enabled(ssl_conn, 1); |
1226 } | 1226 } |
1227 #endif | 1227 #endif |
1228 | 1228 |
1229 if (qc->conf->sr_token_key.len) { | 1229 if (qc->conf->sr_token_key.len) { |