254a4a5619
Hi, currently tests don't build with MSVC, because the Base64 test tries to initialize multiple arrays with a length value that was derived from a non-const context. I have fixed this by using vectors instead. Sincerely Johannes Hayeß From 2d76972a862f0aa04b5011537bef71a49aa82a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Haye=C3=9F?= <jhaye@mailbox.org> Date: Sun, 27 Jun 2021 17:46:24 +0200 Subject: [PATCH] Fix compiling with MSVC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously attempts to initialize arrays with non-const value. This seemingly works on GCC/clang due to their static code analysis, but fails with MSVC. This switches to dynamic memory allocation with std::vector, to solve the problem. Signed-off-by: Johannes Hayeß <jhaye@mailbox.org> |
||
---|---|---|
.. | ||
include | ||
CMakeLists.txt | ||
test_base64.cpp | ||
test_crypto.cpp | ||
test_group_session.cpp | ||
test_list.cpp | ||
test_megolm.cpp | ||
test_message.cpp | ||
test_olm.cpp | ||
test_olm_decrypt.cpp | ||
test_olm_sha256.cpp | ||
test_olm_signature.cpp | ||
test_olm_using_malloc.cpp | ||
test_pk.cpp | ||
test_ratchet.cpp | ||
test_sas.cpp | ||
test_session.cpp |