diff options
| author | Sergey Kandaurov <pluknet@nginx.com> | 2021-02-19 17:27:19 +0300 |
|---|---|---|
| committer | Sergey Kandaurov <pluknet@nginx.com> | 2021-02-19 17:27:19 +0300 |
| commit | be98da0731a1c9cf24088d0b8f9a2137f3b91cfa (patch) | |
| tree | cdc716e5bdb65d3492ba672df4460d6f47734b15 /src/event/quic/ngx_event_quic_protection.h | |
| parent | cd276b5ed6f19d39d0e5e3ca615a31931c1f7ddf (diff) | |
| download | nginx-be98da0731a1c9cf24088d0b8f9a2137f3b91cfa.tar.gz nginx-be98da0731a1c9cf24088d0b8f9a2137f3b91cfa.tar.bz2 | |
QUIC: multiple versions support.
Draft-29 and beyond are now supported simultaneously, no need to recompile.
Diffstat (limited to 'src/event/quic/ngx_event_quic_protection.h')
| -rw-r--r-- | src/event/quic/ngx_event_quic_protection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/quic/ngx_event_quic_protection.h b/src/event/quic/ngx_event_quic_protection.h index 2eeb38d7f..a351c9b1b 100644 --- a/src/event/quic/ngx_event_quic_protection.h +++ b/src/event/quic/ngx_event_quic_protection.h @@ -19,7 +19,7 @@ ngx_quic_keys_t *ngx_quic_keys_new(ngx_pool_t *pool); ngx_int_t ngx_quic_keys_set_initial_secret(ngx_pool_t *pool, - ngx_quic_keys_t *keys, ngx_str_t *secret); + ngx_quic_keys_t *keys, ngx_str_t *secret, uint32_t version); int ngx_quic_keys_set_encryption_secret(ngx_pool_t *pool, ngx_uint_t is_write, ngx_quic_keys_t *keys, enum ssl_encryption_level_t level, const SSL_CIPHER *cipher, const uint8_t *secret, size_t secret_len); |
