Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ttxssh.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3201 by doda, Mon Jan 19 12:03:00 2009 UTC revision 3202 by yutakapon, Wed Jan 21 11:11:08 2009 UTC
# Line 3316  static BOOL CALLBACK TTXKeyGenerator(HWN Line 3316  static BOOL CALLBACK TTXKeyGenerator(HWN
3316                          }                          }
3317    
3318                          if (generate_ssh_key(key_type, bits, keygen_progress, &cbarg)) {                          if (generate_ssh_key(key_type, bits, keygen_progress, &cbarg)) {
3319                                    MSG msg;
3320                                    int c = 0;
3321                                    // 鍵の計算中に発生したイベント(ボタン連打など)をフラッシュする。
3322                                    while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {
3323                                            TranslateMessage(&msg);
3324                                            DispatchMessage(&msg);
3325                                            c++;
3326                                            if (c >= 100)
3327                                                    break;
3328                                    }
3329    
3330                                  // passphrase edit box disabled(default)                                  // passphrase edit box disabled(default)
3331                                  EnableWindow(GetDlgItem(dlg, IDC_KEY_EDIT), TRUE);                                  EnableWindow(GetDlgItem(dlg, IDC_KEY_EDIT), TRUE);
3332                                  EnableWindow(GetDlgItem(dlg, IDC_CONFIRM_EDIT), TRUE);                                  EnableWindow(GetDlgItem(dlg, IDC_CONFIRM_EDIT), TRUE);

Legend:
Removed from v.3201  
changed lines
  Added in v.3202

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26