summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic_protection.h
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2021-02-19 17:27:19 +0300
committerSergey Kandaurov <pluknet@nginx.com>2021-02-19 17:27:19 +0300
commitbe98da0731a1c9cf24088d0b8f9a2137f3b91cfa (patch)
treecdc716e5bdb65d3492ba672df4460d6f47734b15 /src/event/quic/ngx_event_quic_protection.h
parentcd276b5ed6f19d39d0e5e3ca615a31931c1f7ddf (diff)
downloadnginx-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.h2
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);