mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 14:02:28 +00:00
Updated submodule
fixed wrong password test
This commit is contained in:
Submodule KeePassKit updated: 821a79aa86...88e6f34a06
@@ -25,7 +25,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)testWrongPassword {
|
- (void)testWrongPassword {
|
||||||
KPKPassword *password = [[KPKPassword alloc] initWithPassword:@"4321" key:nil];
|
KPKPassword *password = [[KPKPassword alloc] initWithPassword:@"wrongPassword" key:nil];
|
||||||
NSData *data = [self _loadTestDataBase:@"KeePass1_native_test" extension:@"kdb"];
|
NSData *data = [self _loadTestDataBase:@"KeePass1_native_test" extension:@"kdb"];
|
||||||
NSError *error;
|
NSError *error;
|
||||||
KPKTree *tree = [[KPKTree alloc] initWithData:data password:password error:&error];
|
KPKTree *tree = [[KPKTree alloc] initWithData:data password:password error:&error];
|
||||||
|
|||||||
Reference in New Issue
Block a user