diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2022-11-22 18:05:37 +0400 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2022-11-22 18:05:37 +0400 |
commit | fd0b558ac811cbf50e4d6388edffb7baffd4cfc5 (patch) | |
tree | 91106fd066e3b564dc7450b25e7b0efab4e890ac /src | |
parent | 885f50f773d1ca6d4b3d95bf23f4e50830dd1736 (diff) | |
download | nginx-fd0b558ac811cbf50e4d6388edffb7baffd4cfc5.tar.gz nginx-fd0b558ac811cbf50e4d6388edffb7baffd4cfc5.zip |
QUIC: plug MSVC warning about potentially uninitialized variable.
Diffstat (limited to 'src')
-rw-r--r-- | src/event/quic/ngx_event_quic_tokens.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/event/quic/ngx_event_quic_tokens.c b/src/event/quic/ngx_event_quic_tokens.c index aeea2ed03..e67825aab 100644 --- a/src/event/quic/ngx_event_quic_tokens.c +++ b/src/event/quic/ngx_event_quic_tokens.c @@ -178,6 +178,10 @@ ngx_quic_validate_token(ngx_connection_t *c, u_char *key, u_char addr_hash[20]; u_char tdec[NGX_QUIC_MAX_TOKEN_SIZE]; +#if NGX_SUPPRESS_WARN + ngx_str_null(&odcid); +#endif + /* Retry token or NEW_TOKEN in a previous connection */ cipher = EVP_aes_256_cbc(); |