Revision: 7433 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/7433 Author: doda Date: 2019-02-20 20:01:29 +0900 (Wed, 20 Feb 2019) Log Message: ----------- デフォルトで bcrypt KDF 形式にチェックを入れるようにした Ticket: #38885 Ticket Links: ------------ http://sourceforge.jp/projects/ttssh2/tracker/detail/38885 Modified Paths: -------------- trunk/ttssh2/ttxssh/ttxssh.c -------------- next part -------------- Modified: trunk/ttssh2/ttxssh/ttxssh.c =================================================================== --- trunk/ttssh2/ttxssh/ttxssh.c 2019-02-19 09:52:45 UTC (rev 7432) +++ trunk/ttssh2/ttxssh/ttxssh.c 2019-02-20 11:01:29 UTC (rev 7433) @@ -4393,7 +4393,8 @@ // default bcrypt KDF EnableWindow(GetDlgItem(dlg, IDC_BCRYPT_KDF_CHECK), TRUE); - EnableWindow(GetDlgItem(dlg, IDC_BCRYPT_KDF_ROUNDS), FALSE); + SendMessage(GetDlgItem(dlg, IDC_BCRYPT_KDF_CHECK), BM_SETCHECK, BST_CHECKED, 0); + EnableWindow(GetDlgItem(dlg, IDC_BCRYPT_KDF_ROUNDS), TRUE); SetDlgItemInt(dlg, IDC_BCRYPT_KDF_ROUNDS, DEFAULT_ROUNDS, FALSE); SendDlgItemMessage(dlg, IDC_BCRYPT_KDF_ROUNDS, EM_LIMITTEXT, 4, 0);