comparison src/event/quic/ngx_event_quic_tokens.c @ 9043:5b49f8bac1b4 quic

QUIC: plug MSVC warning about potentially uninitialized variable.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 22 Nov 2022 18:05:37 +0400
parents 3550b00d9dc8
children 77c1418916f7
comparison
equal deleted inserted replaced
9042:96bdda15413a 9043:5b49f8bac1b4
176 const EVP_CIPHER *cipher; 176 const EVP_CIPHER *cipher;
177 177
178 u_char addr_hash[20]; 178 u_char addr_hash[20];
179 u_char tdec[NGX_QUIC_MAX_TOKEN_SIZE]; 179 u_char tdec[NGX_QUIC_MAX_TOKEN_SIZE];
180 180
181 #if NGX_SUPPRESS_WARN
182 ngx_str_null(&odcid);
183 #endif
184
181 /* Retry token or NEW_TOKEN in a previous connection */ 185 /* Retry token or NEW_TOKEN in a previous connection */
182 186
183 cipher = EVP_aes_256_cbc(); 187 cipher = EVP_aes_256_cbc();
184 iv = pkt->token.data; 188 iv = pkt->token.data;
185 iv_len = NGX_QUIC_AES_256_CBC_IV_LEN; 189 iv_len = NGX_QUIC_AES_256_CBC_IV_LEN;