diff options
Diffstat (limited to 'src/Common')
-rw-r--r-- | src/Common/Cache.c | 2 | ||||
-rw-r--r-- | src/Common/Cache.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Cache.c b/src/Common/Cache.c index c72aa79d..60b2f04a 100644 --- a/src/Common/Cache.c +++ b/src/Common/Cache.c @@ -170,7 +170,7 @@ void AddPasswordToCache (Password *password, int pim, BOOL bCachePim) burn (&tmpPass, sizeof (Password)); } -void AddLegacyPasswordToCache (PasswordLegacy *password, int pim) +void AddLegacyPasswordToCache (__unaligned PasswordLegacy *password, int pim) { Password inputPass = {0}; inputPass.Length = password->Length; diff --git a/src/Common/Cache.h b/src/Common/Cache.h index 84bb6937..cfab6f4f 100644 --- a/src/Common/Cache.h +++ b/src/Common/Cache.h @@ -21,6 +21,6 @@ extern int cacheEmpty; void AddPasswordToCache (Password *password, int pim, BOOL bCachePim); -void AddLegacyPasswordToCache (PasswordLegacy *password, int pim); +void AddLegacyPasswordToCache (__unaligned PasswordLegacy *password, int pim); int ReadVolumeHeaderWCache (BOOL bBoot, BOOL bCache, BOOL bCachePim, unsigned char *header, Password *password, int pkcs5_prf, int pim, PCRYPTO_INFO *retInfo); void WipeCache (void); |