mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 10:46:22 +00:00
fix: Incorrect omemo decryption error for Key Transport Messages
Correctly handle OMEMO stanzas that contain a <header> but no <payload>. These "Key Transport Messages" (heartbeats) are used by some clients for session maintenance and establishing trust. Ref:a2726b6a7made the <payload> element mandatory in the parser. Ref:4d49c2b74the bug became user-visible. Fixes: https://github.com/profanity-im/profanity/issues/2129 Signed-off-by: Michael Vetter <jubalh@iodoru.org>
This commit is contained in:
@@ -132,6 +132,7 @@ typedef enum {
|
||||
OMEMO_ERR_DECRYPT_FAILED,
|
||||
OMEMO_ERR_INVALID_JID,
|
||||
OMEMO_ERR_MUC_SENDER_NOT_FOUND,
|
||||
OMEMO_ERR_KEY_TRANSPORT,
|
||||
OMEMO_ERR_OTHER
|
||||
} omemo_error_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user