e82f2601b0
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. |
||
---|---|---|
.. | ||
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 |