OSDN Git Service
(root)
/
ffftp
/
ffftp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enhance the security of routines for changing a master password.
[ffftp/ffftp.git]
/
registry.c
diff --git
a/registry.c
b/registry.c
index
95fada4
..
f2f7e05
100644
(file)
--- a/
registry.c
+++ b/
registry.c
@@
-221,6
+221,12
@@
void SetMasterPassword( const char* Password )
IsMasterPasswordError = PASSWORD_OK;
\r
}
\r
\r
+// セキュリティ強化
\r
+void GetMasterPassword(char* Password)
\r
+{
\r
+ strcpy(Password, SecretKey);
\r
+}
\r
+
\r
/*----- マスタパスワードの状態取得 ----------------------------------------------
\r
*
\r
* Parameter
\r