Added encrypt flag to test
authorEdouard Tisserant <edouard@pep-project.org>
Tue, 02 Aug 2016 14:28:22 +0200
changeset 141686dd3e262ad
parent 139 4cfa4a534667
child 142 fce442c16ead
Added encrypt flag to test
pEpiOSAdapter/PEPSession.m
     1.1 --- a/pEpiOSAdapter/PEPSession.m	Mon Aug 01 12:49:04 2016 +0200
     1.2 +++ b/pEpiOSAdapter/PEPSession.m	Tue Aug 02 14:28:22 2016 +0200
     1.3 @@ -133,12 +133,14 @@
     1.4  - (PEP_STATUS)encryptMessageDict:(NSDictionary *)src extra:(NSArray *)keys dest:(NSDictionary **)dst
     1.5  {
     1.6      PEP_STATUS status;
     1.7 +    PEP_encrypt_flags_t flags;
     1.8 +
     1.9      message * _src = PEP_messageDictToStruct([self removeEmptyRecipients:src]);
    1.10      message * _dst = NULL;
    1.11      stringlist_t * _keys = PEP_arrayToStringlist(keys);
    1.12  
    1.13      @synchronized (self) {
    1.14 -        status = encrypt_message(_session, _src, _keys, &_dst, PEP_enc_PGP_MIME);
    1.15 +        status = encrypt_message(_session, _src, _keys, &_dst, PEP_enc_PGP_MIME, flags);
    1.16      }
    1.17  
    1.18      NSDictionary * dst_;