/[winpt]/trunk/Src/wptKeygenDlg.cpp
ViewVC logotype

Diff of /trunk/Src/wptKeygenDlg.cpp

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

revision 11 by twoaday, Mon Jan 31 11:02:21 2005 UTC revision 12 by twoaday, Thu Apr 14 12:56:25 2005 UTC
# Line 200  keygen_dlg_proc( HWND dlg, UINT msg, WPA Line 200  keygen_dlg_proc( HWND dlg, UINT msg, WPA
200                           _("Key Generation"), MB_ERR);                           _("Key Generation"), MB_ERR);
201                  return FALSE;                  return FALSE;
202              }              }
203              if (bits > 2048) {              if (bits > DFAULT_KEYSIZE) {
204                  int id = msg_box (dlg, _("Do you really need such a large key?"),                  int id = msg_box (dlg, _("Do you really need such a large key?"),
205                                    _("Key Generation"), MB_YESNO);                                    _("Key Generation"), MB_YESNO);
206                  if (id == IDNO)                  if (id == IDNO)
207                      bits = 2048;                      bits = DFAULT_KEYSIZE;
208              }              }
209              if( !GetDlgItemText( dlg, IDC_KEYGEN_NAME, name, sizeof name - 1 ) ) {              if( !GetDlgItemText( dlg, IDC_KEYGEN_NAME, name, sizeof name - 1 ) ) {
210                  msg_box( dlg, _("Please enter the name."), _("Key Generation"), MB_ERR );                  msg_box( dlg, _("Please enter the name."), _("Key Generation"), MB_ERR );

Legend:
Removed from v.11  
changed lines
  Added in v.12

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26