olm/tests
Denis Kasak e82f2601b0 Fail decoding base64 of invalid length.
olm::decode_base64 now returns the length of the raw decoded data on
success. When given input with an invalid base64 length, it fails early
(before decoding any input) and returns -1.

This also makes the C function _olm_decode_base64 an actual binding of
olm::decode_base64 instead of a wrapper with slightly different
behaviour.
2021-05-24 15:50:14 +02:00
..
include include the C++ string library in unit tests 2019-04-22 13:14:39 -04:00
CMakeLists.txt disable test_ratchet on dynamically-linked Windows builds 2019-04-29 13:32:46 -04:00
test_base64.cpp Fail decoding base64 of invalid length. 2021-05-24 15:50:14 +02:00
test_crypto.cpp don't use variable length or zero-length arrays in test files 2019-04-22 10:12:42 -04:00
test_group_session.cpp don't use variable length or zero-length arrays in test files 2019-04-22 10:12:42 -04:00
test_list.cpp Fix bug in list where the wrong value was copied if an item was inserted at the beinging of the list 2015-07-15 16:31:45 +01:00
test_megolm.cpp Fix an integer wrap around bug and add a couple more tests 2016-05-25 15:00:05 +01:00
test_message.cpp don't use variable length or zero-length arrays in test files 2019-04-22 10:12:42 -04:00
test_olm.cpp don't use variable length or zero-length arrays in test files 2019-04-22 10:12:42 -04:00
test_olm_decrypt.cpp don't use variable length or zero-length arrays in test files 2019-04-22 10:12:42 -04:00
test_olm_sha256.cpp don't use variable length or zero-length arrays in test files 2019-04-22 10:12:42 -04:00
test_olm_signature.cpp fix memory leaks in tests 2020-10-01 15:39:48 +02:00
test_olm_using_malloc.cpp Rename olm.hh to olm.h 2016-05-23 18:55:05 +01:00
test_pk.cpp fix memory leaks in tests 2020-10-01 15:39:48 +02:00
test_ratchet.cpp don't use variable length or zero-length arrays in test files 2019-04-22 10:12:42 -04:00
test_sas.cpp avoid variable length arrays in SAS test 2019-04-29 14:49:47 -04:00
test_session.cpp Convert Ed25519 and Curve25519 functions to plain C 2016-09-05 10:40:39 +01:00