Commit 64130c1f authored by Richard van der Hoff's avatar Richard van der Hoff
Browse files

Fix broken fuzzer compilation

fuzz_group_decrypt.cpp got broken by 653790ea; fix it up
parent 05b48086
...@@ -45,7 +45,7 @@ Usage notes: ...@@ -45,7 +45,7 @@ Usage notes:
.. code:: .. code::
./afl-fuzz -i- -o existing_output_dir [...etc...] afl-fuzz -i- -o existing_output_dir [...etc...]
8. If it shows failures, pipe the failure case into 8. If it shows failures, pipe the failure case into
``./build/fuzzers/debug_<fuzzing_tool>``, fix, and repeat. ``./build/fuzzers/debug_<fuzzing_tool>``, fix, and repeat.
...@@ -54,6 +54,8 @@ int main(int argc, const char *argv[]) { ...@@ -54,6 +54,8 @@ int main(int argc, const char *argv[]) {
uint8_t plaintext[max_length]; uint8_t plaintext[max_length];
uint32_t ratchet_index;
size_t length = check_error( size_t length = check_error(
olm_inbound_group_session_last_error, olm_inbound_group_session_last_error,
session, session,
...@@ -61,7 +63,7 @@ int main(int argc, const char *argv[]) { ...@@ -61,7 +63,7 @@ int main(int argc, const char *argv[]) {
olm_group_decrypt( olm_group_decrypt(
session, session,
message_buffer, message_length, message_buffer, message_length,
plaintext, max_length plaintext, max_length, &ratchet_index
) )
); );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment