IOSAD-225 Check for PEP_decrypt_flag_src_modified, see docs/IOSAD-92

IOSAD-225
Dirk Zimmermann 1 year ago
parent 3f302439aa
commit 359986f291
  1. 2
      pEpObjCAdapter/PEPInternalSession.m

@ -136,7 +136,7 @@ void decryptMessageFree(message *src, message *dst, stringlist_t *extraKeys)
dstMessage = [PEPObjCTypeConversionUtil pEpMessagefromStruct:src];
}
if (theFlags & PEP_decrypt_flag_untrusted_server) {
if (theFlags & PEP_decrypt_flag_src_modified) {
[PEPObjCTypeConversionUtil overWritePEPMessageObject:theMessage withValuesFromStruct:src];
}

Loading…
Cancel
Save