From be98da0731a1c9cf24088d0b8f9a2137f3b91cfa Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Fri, 19 Feb 2021 17:27:19 +0300 Subject: QUIC: multiple versions support. Draft-29 and beyond are now supported simultaneously, no need to recompile. --- src/event/quic/ngx_event_quic_protection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/event/quic/ngx_event_quic_protection.h') 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); -- cgit