/* add a "msg" node the the output message, doc node is :
* <msg>
* <pzid>peerZID</pzid>
...
...
@@ -795,7 +795,7 @@ int lime_decryptMultipartMessage(xmlDocPtr cacheBuffer, uint8_t *message, uint8_
/* decrypt the message */
*output=(uint8_t*)malloc(encryptedMessageLength-16+1);/* plain message is same length than encrypted one with 16 bytes less for the tag + 1 to add the null termination char */
BC_ASSERT_STRING_EQUAL(linphone_chat_message_get_text((LinphoneChatMessage*)messages->data),"If you open yourself to the Tao is intangible and evasive, yet prefers to keep us at the mercy of the kingdom, then all of the streams of hundreds of valleys because of its limitless possibilities.");