OSDN Git Service

Enhance the security of routines for changing a master password.
[ffftp/ffftp.git] / registry.c
index 95fada4..f2f7e05 100644 (file)
@@ -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