IOSAD-124 stops blocking while encrypting
authorbuff <andreas@pep-project.org>
Tue, 16 Jul 2019 14:55:48 +0200
changeset 10680d033e967ac7
parent 1067 07ebf42c7615
child 1069 2814cc3b5e69
child 1070 eed06a1066fe
child 1078 bcdc0be31b68
IOSAD-124 stops blocking while encrypting
pEpObjCAdapter/PEPInternalSession.m
     1.1 --- a/pEpObjCAdapter/PEPInternalSession.m	Wed Jul 10 13:07:32 2019 +0200
     1.2 +++ b/pEpObjCAdapter/PEPInternalSession.m	Tue Jul 16 14:55:48 2019 +0200
     1.3 @@ -282,7 +282,6 @@
     1.4      message *_dst = NULL;
     1.5      stringlist_t *_keys = PEP_arrayToStringlist(extraKeys);
     1.6  
     1.7 -    [self lockWrite];
     1.8      PEPStatus theStatus = (PEPStatus) encrypt_message(
     1.9                                                        _session,
    1.10                                                        _src,
    1.11 @@ -290,7 +289,6 @@
    1.12                                                        &_dst,
    1.13                                                        (PEP_enc_format) encFormat,
    1.14                                                        flags);
    1.15 -    [self unlockWrite];
    1.16  
    1.17      if (status) {
    1.18          *status = theStatus;