IOSAD-92 decryptMessageDict: messageDict mutable IOSAD-92
authorDirk Zimmermann <dirk@pep-project.org>
Tue, 24 Apr 2018 17:11:57 +0200
branchIOSAD-92
changeset 5962a2f52bb7e41
parent 595 09804658bc89
child 597 aa68b6d6a966
IOSAD-92 decryptMessageDict: messageDict mutable
pEpObjCAdapter/PEPInternalSession.m
pEpObjCAdapter/PEPSession.m
pEpObjCAdapter/PEPSessionProtocol.h
     1.1 --- a/pEpObjCAdapter/PEPInternalSession.m	Tue Apr 24 13:29:20 2018 +0200
     1.2 +++ b/pEpObjCAdapter/PEPInternalSession.m	Tue Apr 24 17:11:57 2018 +0200
     1.3 @@ -105,7 +105,7 @@
     1.4      free_stringlist(extraKeys);
     1.5  }
     1.6  
     1.7 -- (PEPDict * _Nullable)decryptMessageDict:(PEPDict * _Nonnull)messageDict
     1.8 +- (PEPDict * _Nullable)decryptMessageDict:(PEPMutableDict * _Nonnull)messageDict
     1.9                                      flags:(PEP_decrypt_flags * _Nullable)flags
    1.10                                     rating:(PEP_rating * _Nullable)rating
    1.11                                  extraKeys:(PEPStringList * _Nullable * _Nullable)extraKeys
     2.1 --- a/pEpObjCAdapter/PEPSession.m	Tue Apr 24 13:29:20 2018 +0200
     2.2 +++ b/pEpObjCAdapter/PEPSession.m	Tue Apr 24 17:11:57 2018 +0200
     2.3 @@ -21,7 +21,7 @@
     2.4      [PEPSessionProvider cleanup];
     2.5  }
     2.6  
     2.7 -- (PEPDict * _Nullable)decryptMessageDict:(PEPDict * _Nonnull)messageDict
     2.8 +- (PEPDict * _Nullable)decryptMessageDict:(PEPMutableDict * _Nonnull)messageDict
     2.9                                      flags:(PEP_decrypt_flags * _Nullable)flags
    2.10                                     rating:(PEP_rating * _Nullable)rating
    2.11                                  extraKeys:(PEPStringList * _Nullable * _Nullable)extraKeys
     3.1 --- a/pEpObjCAdapter/PEPSessionProtocol.h	Tue Apr 24 13:29:20 2018 +0200
     3.2 +++ b/pEpObjCAdapter/PEPSessionProtocol.h	Tue Apr 24 17:11:57 2018 +0200
     3.3 @@ -21,7 +21,7 @@
     3.4  @protocol PEPSessionProtocol <NSObject>
     3.5  
     3.6  /** Decrypt a message */
     3.7 -- (PEPDict * _Nullable)decryptMessageDict:(PEPDict * _Nonnull)messageDict
     3.8 +- (PEPDict * _Nullable)decryptMessageDict:(PEPMutableDict * _Nonnull)messageDict
     3.9                                      flags:(PEP_decrypt_flags * _Nullable)flags
    3.10                                     rating:(PEP_rating * _Nullable)rating
    3.11                                  extraKeys:(PEPStringList * _Nullable * _Nullable)extraKeys