aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2022-11-22 18:05:36 +0400
committerSergey Kandaurov <pluknet@nginx.com>2022-11-22 18:05:36 +0400
commit553eb6a16838ea297d8eed5166c63afb38136941 (patch)
tree9ee759441ba14a529b598678337a27d7c25fcc26 /src
parent499dbd28be42c75f90919881ce0df1dce85ad9f1 (diff)
downloadnginx-553eb6a16838ea297d8eed5166c63afb38136941.tar.gz
nginx-553eb6a16838ea297d8eed5166c63afb38136941.zip
QUIC: fixed C4389 MSVC warning about signed/unsigned mismatch.
Diffstat (limited to 'src')
-rw-r--r--src/event/quic/ngx_event_quic_protection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event/quic/ngx_event_quic_protection.c b/src/event/quic/ngx_event_quic_protection.c
index 1247e1954..3110c9e64 100644
--- a/src/event/quic/ngx_event_quic_protection.c
+++ b/src/event/quic/ngx_event_quic_protection.c
@@ -988,8 +988,9 @@ ngx_quic_decrypt(ngx_quic_header_t *pkt, uint64_t *largest_pn)
u_char *p, *sample;
size_t len;
uint64_t pn, lpn;
- ngx_int_t pnl, rc, key_phase;
+ ngx_int_t pnl, rc;
ngx_str_t in, ad;
+ ngx_uint_t key_phase;
ngx_quic_secret_t *secret;
ngx_quic_ciphers_t ciphers;
uint8_t nonce[NGX_QUIC_IV_LEN], mask[NGX_QUIC_HP_LEN];