]> git.kaiwu.me - nginx.git/commit
QUIC: moved variable declaration to fix build with MSVC 2010.
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 22 Nov 2022 14:05:35 +0000 (18:05 +0400)
committerSergey Kandaurov <pluknet@nginx.com>
Tue, 22 Nov 2022 14:05:35 +0000 (18:05 +0400)
commit44a901c9e0776ce3d152c78149d13e9222a3776f
tree2118f6f008942fa69c281dd826e863ca5ab1f3fb
parent84a51e4de1790fb3f910e2add72bafd7ce482f4f
QUIC: moved variable declaration to fix build with MSVC 2010.

Previously, ngx_quic_hkdf_t variables used declaration with assignment
in the middle of a function, which is not supported by MSVC 2010.
Fixing this also required to rewrite the ngx_quic_hkdf_set macro
and to switch to an explicit array size.
src/event/quic/ngx_event_quic_protection.c