From b77c2d00b57233a87350dedbe44897fcb0b7adf1 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Fri, 28 Feb 2020 13:09:51 +0300 Subject: QUIC set_encryption_secrets callback. --- src/http/ngx_http_request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/http/ngx_http_request.c') diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index bc4f2a13b..85b6835ee 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -783,8 +783,8 @@ ngx_http_quic_handshake(ngx_event_t *rev) uint64_t plen = ngx_quic_parse_int(&b->pos); /* draft-ietf-quic-tls-23#section-5.4.2: * the Packet Number field is assumed to be 4 bytes long - * draft-ietf-quic-tls-23#section-5.4.3: - * AES-Based header protection samples 16 bytes + * draft-ietf-quic-tls-23#section-5.4.[34]: + * AES-Based and ChaCha20-Based header protections sample 16 bytes */ u_char *sample = b->pos + 4; -- cgit v1.2.3