IOSAD-172 Back out: Password entry has isExpired IOSAD-172
authorDirk Zimmermann <dz@pep.security>
Mon, 29 Jun 2020 16:39:43 +0200
branchIOSAD-172
changeset 152832e6a448a551
parent 1527 d796df65faa7
child 1529 31d653b765af
IOSAD-172 Back out: Password entry has isExpired
pEpObjCAdapter/PEPPassphraseCacheEntry.h
pEpObjCAdapter/PEPPassphraseCacheEntry.m
     1.1 --- a/pEpObjCAdapter/PEPPassphraseCacheEntry.h	Mon Jun 29 16:39:43 2020 +0200
     1.2 +++ b/pEpObjCAdapter/PEPPassphraseCacheEntry.h	Mon Jun 29 16:39:43 2020 +0200
     1.3 @@ -19,10 +19,6 @@
     1.4  
     1.5  - (instancetype)initWithPassphrase:(NSString *)passphrase;
     1.6  
     1.7 -/// @Return `YES` when the entry has expired (has passed the compiled-in timeout),
     1.8 -/// `NO` otherwise.
     1.9 -- (BOOL)isExpired;
    1.10 -
    1.11  @end
    1.12  
    1.13  NS_ASSUME_NONNULL_END
     2.1 --- a/pEpObjCAdapter/PEPPassphraseCacheEntry.m	Mon Jun 29 16:39:43 2020 +0200
     2.2 +++ b/pEpObjCAdapter/PEPPassphraseCacheEntry.m	Mon Jun 29 16:39:43 2020 +0200
     2.3 @@ -8,8 +8,6 @@
     2.4  
     2.5  #import "PEPPassphraseCacheEntry.h"
     2.6  
     2.7 -static NSTimeInterval s_defaultTimeoutInSeconds = 10 * 60;
     2.8 -
     2.9  @implementation PEPPassphraseCacheEntry
    2.10  
    2.11  - (instancetype)initWithPassphrase:(NSString *)passphrase
    2.12 @@ -22,9 +20,4 @@
    2.13      return self;
    2.14  }
    2.15  
    2.16 -- (BOOL)isExpired
    2.17 -{
    2.18 -    return NO;
    2.19 -}
    2.20 -
    2.21  @end