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

Diff of /trunk/Src/wptKeyRevokeDlg.cpp

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

revision 186 by twoaday, Fri Dec 30 13:56:10 2005 UTC revision 187 by twoaday, Wed Mar 22 11:04:20 2006 UTC
# Line 48  mk_cert_fname (const char *keyid, char * Line 48  mk_cert_fname (const char *keyid, char *
48    
49      if (get_pubkey (keyid, &k))      if (get_pubkey (keyid, &k))
50          BUG (NULL);          BUG (NULL);
51      uid = utf8_to_wincp2 (k->uids->name);      uid = utf8_to_native (k->uids->name);
52      _snprintf (fname, flen-1, "%s_RevocationCert.asc", uid);      _snprintf (fname, flen-1, "%s_RevocationCert.asc", uid);
53      for (i=0; i < strlen (fname); i++) {      for (i=0; i < strlen (fname); i++) {
54          if (fname[i] == ' ')          if (fname[i] == ' ')
# Line 153  key_revoke_dlg_proc (HWND dlg, UINT msg, Line 153  key_revoke_dlg_proc (HWND dlg, UINT msg,
153              }              }
154                        
155              if (use_desc)              if (use_desc)
156                  p = wincp_to_utf8 (desc, strlen (desc));                  p = native_to_utf8 (desc);
157              /* we use the keyid to avoid charset problems and UTF8 encodings.*/              /* we use the keyid to avoid charset problems and UTF8 encodings.*/
158              inp_data = generate_revoke_input (idx, use_desc? p : NULL, pwd);              inp_data = generate_revoke_input (idx, use_desc? p : NULL, pwd);
159                            

Legend:
Removed from v.186  
changed lines
  Added in v.187

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26