Commit 9b216dad authored by Ghislain MARY's avatar Ghislain MARY

Attempt to fix build on some platforms (because of some missing md5 functions).

parent e5d25f02
......@@ -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);
......
Markdown is supported
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