summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mmap_SA/Dbtool/initialchecks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mmap_SA/Dbtool/initialchecks.cpp')
-rw-r--r--plugins/Dbx_mmap_SA/Dbtool/initialchecks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dbx_mmap_SA/Dbtool/initialchecks.cpp b/plugins/Dbx_mmap_SA/Dbtool/initialchecks.cpp
index a2f621df46..385d31cb92 100644
--- a/plugins/Dbx_mmap_SA/Dbtool/initialchecks.cpp
+++ b/plugins/Dbx_mmap_SA/Dbtool/initialchecks.cpp
@@ -40,13 +40,13 @@ int WorkInitialChecks(int firstTime)
}
bEncrypted = false;
if(memcmp(dbhdr.signature,&dbSignature,sizeof(dbhdr.signature))) {
- if(memcmp(dbhdr.signature,&dbSignatureEncrypted,sizeof(dbhdr.signature))){
+ if(memcmp(dbhdr.signature,&dbSignatureEncrypted,sizeof(dbhdr.signature))) {
AddToStatus(STATUS_FATAL,TranslateT("Database signature is corrupted, automatic repair is impossible"));
return ERROR_BAD_FORMAT;
}
AddToStatus(STATUS_SUCCESS,TranslateT("Database is Secured MMAP database"));
InitSecurity();
- if(CheckPassword(dbhdr.checkWord, dbhdr.cryptorUID, (char*)Translate("your database"))){
+ if(CheckPassword(dbhdr.checkWord, dbhdr.cryptorUID, (char*)Translate("your database"))) {
AddToStatus(STATUS_SUCCESS,TranslateT("Secured MMAP: authorization successful"));
bEncrypted = true;
}