File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 3333static NSString *const kDataProtectedMigrationCheckPerformedKey =
3434 @" GID_DataProtectedMigrationCheckPerformed" ;
3535
36-
3736// Keychain account used to store additional state in SDKs previous to v5, including GPPSignIn.
3837static NSString *const kOldKeychainAccount = @" GooglePlus" ;
3938
@@ -97,7 +96,7 @@ - (void)performDataProtectedMigrationIfNeeded {
9796 if ([defaults boolForKey: kDataProtectedMigrationCheckPerformedKey ]) {
9897 return ;
9998 }
100- // Migrate from the fileBasedKeychain to dataProtectedKeychain with GTMAppAuth 5.0.
99+
101100 GTMKeychainAttribute *fileBasedKeychain = [GTMKeychainAttribute useFileBasedKeychain ];
102101 NSSet *attributes = [NSSet setWithArray: @[fileBasedKeychain]];
103102 GTMKeychainStore *keychainStoreLegacy =
Original file line number Diff line number Diff line change @@ -185,7 +185,6 @@ - (void)testMigrateIfNeeded_KeychainFailure_DataProtectedMigration {
185185}
186186
187187#else
188-
189188- (void )testMigrateIfNeeded_NoPreviousMigration_GTMAppAuthMigration {
190189 [[[_mockUserDefaults stub ] andReturn: _mockUserDefaults] standardUserDefaults ];
191190 [[[_mockUserDefaults expect ] andReturnValue: @NO ] boolForKey: kGTMAppAuthMigrationCheckPerformedKey ];
You can’t perform that action at this time.
0 commit comments