IOSAD-172 Docs IOSAD-172
authorDirk Zimmermann <dz@pep.security>
Mon, 29 Jun 2020 16:39:43 +0200
branchIOSAD-172
changeset 1537748f192b92e4
parent 1536 ad798e1af91e
child 1538 7b2207f43329
IOSAD-172 Docs
pEpObjCAdapter/PEPPassphraseCache.m
     1.1 --- a/pEpObjCAdapter/PEPPassphraseCache.m	Mon Jun 29 16:39:43 2020 +0200
     1.2 +++ b/pEpObjCAdapter/PEPPassphraseCache.m	Mon Jun 29 16:39:43 2020 +0200
     1.3 @@ -83,6 +83,7 @@
     1.4      PEPPassphraseCacheEntry *entry = [[PEPPassphraseCacheEntry alloc]
     1.5                                        initWithPassphrase:passphrase];
     1.6      dispatch_sync(self.queue, ^{
     1.7 +        // Note newer passphrases are always added to the _end_
     1.8          [self.mutablePassphraseEntries addObject:entry];
     1.9          if (self.mutablePassphraseEntries.count > s_maxNumberOfPassphrases) {
    1.10              [self.mutablePassphraseEntries removeObjectAtIndex:0];