diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-07-14 17:32:57 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-11-08 23:21:21 +0100 |
commit | bbc738c490bcd691151c28f971e0e153777fb255 (patch) | |
tree | 81d6c3dbca12021fc8dd9563462c19836f5591a6 /src/Common/Password.h | |
parent | 8bf58486af14c662ed63abea093886bfcf2ddbe5 (diff) | |
download | VeraCrypt-bbc738c490bcd691151c28f971e0e153777fb255.tar.gz VeraCrypt-bbc738c490bcd691151c28f971e0e153777fb255.zip |
Static Code Analysis : Add various NULL pointers checks
Diffstat (limited to 'src/Common/Password.h')
-rw-r--r-- | src/Common/Password.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Password.h b/src/Common/Password.h index 25028b11..d4f1f928 100644 --- a/src/Common/Password.h +++ b/src/Common/Password.h | |||
@@ -35,7 +35,7 @@ typedef struct | |||
35 | void VerifyPasswordAndUpdate ( HWND hwndDlg , HWND hButton , HWND hPassword , HWND hVerify , unsigned char *szPassword , char *szVerify, BOOL keyFilesEnabled ); | 35 | void VerifyPasswordAndUpdate ( HWND hwndDlg , HWND hButton , HWND hPassword , HWND hVerify , unsigned char *szPassword , char *szVerify, BOOL keyFilesEnabled ); |
36 | BOOL CheckPasswordLength (HWND hwndDlg, HWND hwndItem); | 36 | BOOL CheckPasswordLength (HWND hwndDlg, HWND hwndItem); |
37 | BOOL CheckPasswordCharEncoding (HWND hPassword, Password *ptrPw); | 37 | BOOL CheckPasswordCharEncoding (HWND hPassword, Password *ptrPw); |
38 | int ChangePwd (char *lpszVolume, Password *oldPassword, Password *newPassword, int pkcs5, HWND hwndDlg); | 38 | int ChangePwd (const char *lpszVolume, Password *oldPassword, Password *newPassword, int pkcs5, HWND hwndDlg); |
39 | 39 | ||
40 | #endif // defined(_WIN32) && !defined(TC_WINDOWS_DRIVER) | 40 | #endif // defined(_WIN32) && !defined(TC_WINDOWS_DRIVER) |
41 | 41 | ||