mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 09:49:26 +00:00
Attempt to fix build on some platforms (because of some missing md5 functions).
This commit is contained in:
parent
e5d25f028d
commit
9b216dadc9
1 changed files with 1 additions and 3 deletions
|
|
@ -393,9 +393,7 @@ void linphone_friend_list_update_subscriptions(LinphoneFriendList *list, Linphon
|
|||
if ((address != NULL) && (xml_content != NULL) && (linphone_friend_list_has_subscribe_inactive(list) == TRUE)) {
|
||||
md5_context ctx;
|
||||
unsigned char digest[16];
|
||||
md5_init(&ctx);
|
||||
md5_update(&ctx, (unsigned char *)xml_content, strlen(xml_content));
|
||||
md5_finish(&ctx, digest);
|
||||
md5((unsigned char *)xml_content, strlen(xml_content), digest);
|
||||
if ((list->event != NULL) && (list->content_digest != NULL) && (memcmp(list->content_digest, digest, sizeof(digest)) == 0)) {
|
||||
/* The content has not changed, only refresh the event. */
|
||||
linphone_event_refresh_subscribe(list->event);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue