]> wagner.pp.ru Git - openssl-gost/engine.git/commit
MSVC: Replace variable-length automatic arrays with alloca
authorVitaly Chikunov <vt@altlinux.org>
Sat, 4 Dec 2021 06:13:14 +0000 (09:13 +0300)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Sat, 11 Dec 2021 16:45:14 +0000 (19:45 +0300)
commit66c4ce5fb9fe3c3598a5707bde7ac6929ec0b83c
tree70cb2272b1f440284f32d646ef71021dfbfab89d
parent55f0eb1b77c1c1bfc387927bad06210257f50f21
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 <vt@altlinux.org>
test_ciphers.c