IOSAD-92 using PEP_rating_undefined as default rating IOSAD-92
authorDirk Zimmermann <dirk@pep-project.org>
Wed, 25 Apr 2018 09:20:30 +0200
branchIOSAD-92
changeset 600303218b831ae
parent 599 8db01039b24c
child 603 9b4e42283f66
IOSAD-92 using PEP_rating_undefined as default rating
pEpObjCAdapter/PEPInternalSession.m
pEpObjCTests/PEPSessionTest.m
     1.1 --- a/pEpObjCAdapter/PEPInternalSession.m	Wed Apr 25 09:17:33 2018 +0200
     1.2 +++ b/pEpObjCAdapter/PEPInternalSession.m	Wed Apr 25 09:20:30 2018 +0200
     1.3 @@ -406,7 +406,7 @@
     1.4                                                 error:(NSError * _Nullable * _Nullable)error
     1.5  {
     1.6      message *_msg = PEP_messageDictToStruct(messageDict);
     1.7 -    PEP_rating rating = PEP_rating_b0rken;
     1.8 +    PEP_rating rating = PEP_rating_undefined;
     1.9  
    1.10      [self lockWrite];
    1.11      PEP_STATUS status = outgoing_message_rating(_session, _msg, &rating);
     2.1 --- a/pEpObjCTests/PEPSessionTest.m	Wed Apr 25 09:17:33 2018 +0200
     2.2 +++ b/pEpObjCTests/PEPSessionTest.m	Wed Apr 25 09:20:30 2018 +0200
     2.3 @@ -841,7 +841,7 @@
     2.4      NSArray *keys;
     2.5  
     2.6      error = nil;
     2.7 -    PEP_rating rating = PEP_rating_b0rken;
     2.8 +    PEP_rating rating = PEP_rating_undefined;
     2.9      PEPMessage *decmsg = [session
    2.10                            decryptMessage:encMsg
    2.11                            flags:nil
    2.12 @@ -894,7 +894,7 @@
    2.13  
    2.14      XCTAssertEqualObjects(msg, msgOriginal);
    2.15  
    2.16 -    PEP_rating rating = PEP_rating_b0rken;
    2.17 +    PEP_rating rating = PEP_rating_undefined;
    2.18      PEP_decrypt_flags flags = PEP_decrypt_flag_untrusted_server;
    2.19  
    2.20      PEPMessage *pepDecryptedMail = [session