mirror of
https://github.com/nginx/nginx.git
synced 2025-01-06 07:27:47 +08:00
Store clearflags in pkt->flags after decryption.
It doesn't make sense to store protected flags.
This commit is contained in:
parent
1a6fc01fb8
commit
5e5c703656
@ -1015,6 +1015,7 @@ ngx_quic_decrypt(ngx_quic_header_t *pkt, ngx_ssl_conn_t *ssl_conn,
|
|||||||
pn = ngx_quic_parse_pn(&p, pnl, &mask[1], largest_pn);
|
pn = ngx_quic_parse_pn(&p, pnl, &mask[1], largest_pn);
|
||||||
|
|
||||||
pkt->pn = pn;
|
pkt->pn = pn;
|
||||||
|
pkt->flags = clearflags;
|
||||||
|
|
||||||
#ifdef NGX_QUIC_DEBUG_CRYPTO
|
#ifdef NGX_QUIC_DEBUG_CRYPTO
|
||||||
ngx_quic_hexdump(pkt->log, "quic mask", mask, 5);
|
ngx_quic_hexdump(pkt->log, "quic mask", mask, 5);
|
||||||
|
Loading…
Reference in New Issue
Block a user