Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
7720b060
Commit
7720b060
authored
Jun 16, 2017
by
jehan
Browse files
add a trace in case lime key is derivated because of message loses
parent
397424e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/lime.c
View file @
7720b060
...
...
@@ -685,6 +685,12 @@ int lime_decryptMultipartMessage(void *cachedb, uint8_t *message, const char *se
return
LIME_UNABLE_TO_DECRYPT_MESSAGE
;
}
if
(
associatedKey
.
sessionIndex
!=
usedSessionIndex
)
{
ms_warning
(
"Line: unexpected session index [%i] received from [%s], [%i] message will discarded"
,
usedSessionIndex
,
peerURI
,
associatedKey
.
sessionIndex
-
usedSessionIndex
);
}
while
(
usedSessionIndex
>
associatedKey
.
sessionIndex
)
{
lime_deriveKey
(
&
associatedKey
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment