aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_content_view/file_default_widget.vala
diff options
context:
space:
mode:
authorhrxi <hrrrxi@gmail.com>2026-03-08 10:49:34 +0100
committerMarvin W <git@larma.de>2026-04-10 20:48:19 +0200
commite1f38c674704de4380d885f579a0ceb81a4d3bb1 (patch)
tree6741009ca980b74cd68f09b3713887678dbc73f6 /main/src/ui/conversation_content_view/file_default_widget.vala
parent8e3e7d140d4a623eebc12f8951c3f583d46a9d27 (diff)
Remove dead callbacks in OMEMO plugin
The callbacks aren't used by libomemo-c. The callbacks passed appear to be buggy because the return value of `gcry_md_read` is passed to `free`, but it is supposed to be automatically freed on `gcry_md_reset`. Additionally, `gcry_md_reset` is called before the return value of `gcry_md_read` is used, which is also against the documentation: https://www.gnupg.org/documentation/manuals/gcrypt-devel/Working-with-hash-algorithms.html > `gcry_md_read` returns the message digest after finalizing the > calculation. […] The returned message digest is allocated within the > message context and therefore valid until the handle is released or > reseted (using `gcry_md_close` or `gcry_md_reset`. […]
Diffstat (limited to 'main/src/ui/conversation_content_view/file_default_widget.vala')
0 files changed, 0 insertions, 0 deletions