From: Vitaly Chikunov Date: Sat, 4 Dec 2021 06:13:14 +0000 (+0300) Subject: MSVC: Replace variable-length automatic arrays with alloca X-Git-Tag: v3.0.1~27 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=66c4ce5fb9fe3c3598a5707bde7ac6929ec0b83c;hp=66c4ce5fb9fe3c3598a5707bde7ac6929ec0b83c;p=openssl-gost%2Fengine.git MSVC: Replace variable-length automatic arrays with alloca MSVC is not C99 compatible[1]. Errors: test_ciphers.c(312,25): error C2057: expected constant expression test_ciphers.c(312,25): error C2466: cannot allocate an array of constant size 0 test_ciphers.c(312,26): error C2133: 'c': unknown size Link: https://docs.microsoft.com/en-us/cpp/c-language/ansi-conformance Signed-off-by: Vitaly Chikunov ---