IOSAD-177 Fix bug in passphrase length check IOSAD-177
authorDirk Zimmermann <dz@pep.security>
Thu, 09 Jul 2020 13:37:06 +0200
branchIOSAD-177
changeset 16729f02a665cdc3
parent 1671 0051a0a9cd2b
child 1673 bba8c99ccf4e
IOSAD-177 Fix bug in passphrase length check
pEpObjCAdapter/NSString+NormalizePassphrase.m
     1.1 --- a/pEpObjCAdapter/NSString+NormalizePassphrase.m	Thu Jul 09 13:33:11 2020 +0200
     1.2 +++ b/pEpObjCAdapter/NSString+NormalizePassphrase.m	Thu Jul 09 13:37:06 2020 +0200
     1.3 @@ -24,8 +24,8 @@
     1.4              *error = [NSError errorWithDomain:PEPObjCAdapterErrorDomain
     1.5                                           code:PEPAdapterErrorPassphraseTooLong
     1.6                                       userInfo:nil];
     1.7 -            return nil;
     1.8          }
     1.9 +        return nil;
    1.10      }
    1.11  
    1.12      return normalizedPassphrase;