IOSAD-172 Improve spelling IOSAD-172
authorDirk Zimmermann <dz@pep.security>
Sat, 27 Jun 2020 12:04:42 +0200
branchIOSAD-172
changeset 1496bcf11f44c719
parent 1495 7e83c9bcc0a2
child 1497 b6a43067e6ee
IOSAD-172 Improve spelling
pEpObjCAdapter/PEPInternalSession.m
     1.1 --- a/pEpObjCAdapter/PEPInternalSession.m	Sat Jun 27 12:04:18 2020 +0200
     1.2 +++ b/pEpObjCAdapter/PEPInternalSession.m	Sat Jun 27 12:04:42 2020 +0200
     1.3 @@ -1052,7 +1052,7 @@
     1.4  }
     1.5  
     1.6  /// The maximum number of code points allowed in a passphrase
     1.7 -static NSUInteger s_passPhraseMaxNumberOfCodePoints = 250;
     1.8 +static NSUInteger s_passphraseMaxNumberOfCodePoints = 250;
     1.9  
    1.10  - (BOOL)configurePassphrase:(NSString * _Nonnull)passphrase
    1.11                        error:(NSError * _Nullable * _Nullable)error
    1.12 @@ -1063,7 +1063,7 @@
    1.13  
    1.14      NSString *normalized = [passphrase precomposedStringWithCanonicalMapping];
    1.15  
    1.16 -    if ([normalized length] > s_passPhraseMaxNumberOfCodePoints) {
    1.17 +    if ([normalized length] > s_passphraseMaxNumberOfCodePoints) {
    1.18          if (error) {
    1.19              *error = [NSError errorWithDomain:PEPObjCAdapterEngineStatusErrorDomain
    1.20                                           code:PEPAdapterErrorPassphraseTooLong