diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-18 17:17:20 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-18 17:17:20 +0000 |
commit | 43987a12a08c3a656ba4401c727214096c046a5a (patch) | |
tree | 24098acc7172817a2e3b79fc5b792e44b88cb571 /plugins/Dbx_mmap_SA/security.cpp | |
parent | d3a1b7b40f4bd53a467a5b15b426b6f3d6ea1088 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@1019 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mmap_SA/security.cpp')
-rw-r--r-- | plugins/Dbx_mmap_SA/security.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Dbx_mmap_SA/security.cpp b/plugins/Dbx_mmap_SA/security.cpp index 618476e12f..50b23f4312 100644 --- a/plugins/Dbx_mmap_SA/security.cpp +++ b/plugins/Dbx_mmap_SA/security.cpp @@ -20,7 +20,7 @@ CryptoModule* Modules[100]; void zero_fill(BYTE * pBuf, size_t bufSize)
{
size_t i;
- for(i = 0; i < bufSize; i++)
+ for (i = 0; i < bufSize; i++)
pBuf[i] = 0;
}
@@ -65,7 +65,7 @@ void UnloadSecurity() if (CryptoEngine) CryptoEngine->FreeKey(key);
- for(i = 0; i < ModulesCount; i++)
+ for (i = 0; i < ModulesCount; i++)
{
FreeLibrary(Modules[i]->hLib);
free(Modules[i]);
@@ -148,7 +148,7 @@ int CDdxMmap::CheckPassword(WORD checkWord, TCHAR *szDBName) {
int i;
int Found = 0;
- for(i = 0; i < ModulesCount; i++) {
+ for (i = 0; i < ModulesCount; i++) {
if (dbHeader.cryptorUID == Modules[i]->cryptor->uid){
CryptoEngine = Modules[i]->cryptor;
Found = 1;
@@ -204,7 +204,7 @@ int SelectEncoder() }
else{
int Found = 0;
- for(i = 0; i < ModulesCount; i++) {
+ for (i = 0; i < ModulesCount; i++) {
if (Modules[i]->cryptor->uid == uid){
CryptoEngine = Modules[i]->cryptor;
Found = 1;
|