fix code mix up.
This commit is contained in:
		
							
								
								
									
										12
									
								
								c_micasad/cache/SecretStore.cs
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								c_micasad/cache/SecretStore.cs
									
									
									
									
										vendored
									
									
								
							| @@ -210,9 +210,6 @@ namespace sscs.cache | ||||
|  | ||||
|                 } | ||||
|                 baPasscode = CASACrypto.GetMasterPasscodeUsingDesktopPasswd(desktopPasswd, GetPasscodeByDesktopFilePath(), false); | ||||
|                 //if(baPasscode != null) | ||||
|                 if (true) | ||||
|                 { | ||||
|                 if(CASACrypto.ValidatePasscode(baPasscode,GetValidationFilePath())) | ||||
|                 { | ||||
|                     lss = new LocalStorage(this,baPasscode); | ||||
| @@ -237,15 +234,6 @@ namespace sscs.cache | ||||
|                         bIsStorePersistent = false; //till masterPasswd is verified | ||||
|                      } | ||||
|                 } | ||||
|                     return true; | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     CSSSLogger.DbgLog(CSSSLogger.GetExecutionPath(this) + " May be desktop passwd has changed"); | ||||
|                     lss = null; | ||||
|                     bIsStorePersistent = false; | ||||
|                     return false; | ||||
|                 } | ||||
|             } | ||||
|             catch(Exception e) | ||||
|             { | ||||
|   | ||||
| @@ -20,7 +20,6 @@ | ||||
|  *  | ||||
|  ***********************************************************************/ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Text; | ||||
|  | ||||
| namespace sscs.lss | ||||
|   | ||||
		Reference in New Issue
	
	Block a user