IOSAD-121 Indicate that PEPInternalSession.init can fail. IOSAD-121
authorDirk Zimmermann <dz@pep.security>
Thu, 25 Jul 2019 10:47:04 +0200
branchIOSAD-121
changeset 1104802191d6d984
parent 1103 d6219082cdf4
child 1105 d17cf18af014
IOSAD-121 Indicate that PEPInternalSession.init can fail.
pEpObjCAdapter/PEPInternalSession.h
pEpObjCAdapter/PEPInternalSession.m
     1.1 --- a/pEpObjCAdapter/PEPInternalSession.h	Wed Jul 24 15:07:24 2019 +0200
     1.2 +++ b/pEpObjCAdapter/PEPInternalSession.h	Thu Jul 25 10:47:04 2019 +0200
     1.3 @@ -27,6 +27,8 @@
     1.4  
     1.5  @property (nonatomic) PEP_SESSION _Nullable session;
     1.6  
     1.7 +- (_Nullable instancetype)init;
     1.8 +
     1.9  /**
    1.10   Configures the session's unecryptedSubjectEnabled value.
    1.11  
     2.1 --- a/pEpObjCAdapter/PEPInternalSession.m	Wed Jul 24 15:07:24 2019 +0200
     2.2 +++ b/pEpObjCAdapter/PEPInternalSession.m	Thu Jul 25 10:47:04 2019 +0200
     2.3 @@ -30,7 +30,7 @@
     2.4  
     2.5  @implementation PEPInternalSession
     2.6  
     2.7 -- (instancetype)init
     2.8 +- (_Nullable instancetype)init
     2.9  {
    2.10      self = [super init];
    2.11      if (self) {