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

Diff of /trunk/Src/wptKeysignDlg.cpp

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

revision 128 by twoaday, Mon Nov 21 12:06:59 2005 UTC revision 129 by twoaday, Fri Dec 30 13:56:10 2005 UTC
# Line 337  keysign_dlg_proc (HWND dlg, UINT msg, WP Line 337  keysign_dlg_proc (HWND dlg, UINT msg, WP
337                  ke->setLocalUser (k);                  ke->setLocalUser (k);
338    
339              err = ke->signKey (type, sig_class_choice, expires? keymsg : "0");              err = ke->signKey (type, sig_class_choice, expires? keymsg : "0");
340              memset (&pwd, 0, sizeof pwd);                        wipememory (pwd, sizeof (pwd));
341              if (err) {              if (err) {
342                  delete ke;                  delete ke;
343                  msg_box (dlg, gpgme_strerror (err), _("Key Signing"), MB_ERR);                  msg_box (dlg, gpgme_strerror (err), _("Key Signing"), MB_ERR);
344                  return TRUE;                  return TRUE;
345              }              }
346              if (ke->getResult () != 0)              if (ke->getResult () != 0)
347                  msg_box (dlg, _("This key is already signed by your key"), _("Key Signing"), MB_INFO);                  msg_box (dlg, _("This key is already signed by your key"),
348                             _("Key Signing"), MB_INFO);
349              else {              else {
350                  status_box (dlg, _("Key successfully signed."), PGM_NAME);                  status_box (dlg, _("Key successfully signed."), PGM_NAME);
351                  key->update = 1;                  key->update = 1;

Legend:
Removed from v.128  
changed lines
  Added in v.129

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26