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

Diff of /trunk/Src/WinPT.cpp

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

revision 58 by werner, Wed Nov 2 13:36:03 2005 UTC revision 66 by twoaday, Thu Nov 3 17:55:18 2005 UTC
# Line 127  check_default_key (gpg_keycache_t kc) Line 127  check_default_key (gpg_keycache_t kc)
127      defkey = get_gnupg_default_key ();      defkey = get_gnupg_default_key ();
128      if (defkey)      if (defkey)
129          err = gpg_keycache_find_key (kc, defkey, 0, &key);          err = gpg_keycache_find_key (kc, defkey, 0, &key);
130        else
131            msg_box (NULL, _("No useable secret key found."), _("WinPT Error"), MB_ERR);
132      free_if_alloc (defkey);      free_if_alloc (defkey);
133      return err? -1 : 0;      return err? -1 : 0;
134  }  }
# Line 259  WinMain (HINSTANCE hinst, HINSTANCE hpre Line 261  WinMain (HINSTANCE hinst, HINSTANCE hpre
261      debug = 1;      debug = 1;
262  #endif  #endif
263    
     s = PTD_get_version ();  
     // FIXME: Using strcmp here is wrong  
 //     if (strcmp (s, MIN_PTD_VER)) {  
 //      log_box (_("Privacy Tray Dynamic (PTD)"), MB_ERR,  
 //               _("Please update your PTD.dll to the newest version, "  
 //                 "the version (%s) you use is too old."), s);  
 //      return 0;  
 //     }  
   
264      if (gpg_md_selftest ()) {      if (gpg_md_selftest ()) {
265          msg_box (NULL, _("Cryptographic selftest failed."),          msg_box (NULL, _("Cryptographic selftest failed."),
266                   _("WinPT Error"), MB_ERR);                   _("WinPT Error"), MB_ERR);

Legend:
Removed from v.58  
changed lines
  Added in v.66

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26