Commit 3091dc2b authored by Mark Haines's avatar Mark Haines
Browse files

Add NULL check for message_index pointer

parent 653790ea
......@@ -287,7 +287,9 @@ static size_t _decrypt(
return (size_t)-1;
if (message_index != NULL) {
*message_index = decoded_results.message_index;
/* verify the signature. We could do this before decoding the message, but
* we allow for the possibility of future protocol versions which use a
Supports Markdown
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