23 |
#endif |
#endif |
24 |
|
|
25 |
#include <windows.h> |
#include <windows.h> |
|
#include <windows.h> |
|
26 |
|
|
27 |
#include "../resource.h" |
#include "resource.h" |
28 |
#include "wptErrors.h" |
#include "wptErrors.h" |
29 |
#include "wptGPG.h" |
#include "wptGPG.h" |
30 |
#include "wptCommonCtl.h" |
#include "wptCommonCtl.h" |
156 |
static const char* |
static const char* |
157 |
get_pref_cipher (winpt_key_t k) |
get_pref_cipher (winpt_key_t k) |
158 |
{ |
{ |
|
const char *sym_prefs=NULL; |
|
|
|
|
159 |
if (k->is_v3) |
if (k->is_v3) |
160 |
return "IDEA"; |
return "IDEA"; |
161 |
if (!k->ext->sym_prefs) |
if (!k->ext->sym_prefs) |
260 |
gpgme_validity_t valid; |
gpgme_validity_t valid; |
261 |
refresh_cache_s rcs = {0}; |
refresh_cache_s rcs = {0}; |
262 |
const char *inf; |
const char *inf; |
|
int cancel = 0; |
|
263 |
int rc; |
int rc; |
264 |
|
|
265 |
/* XXX: static variable (k) prevent that the dialog can |
/* XXX: static variable (k) prevent that the dialog can |
292 |
return TRUE; |
return TRUE; |
293 |
|
|
294 |
case WM_DESTROY: |
case WM_DESTROY: |
295 |
unlink (get_photo_tmpname (dlg)); |
remove (get_photo_tmpname (dlg)); |
296 |
break; |
break; |
297 |
|
|
298 |
case WM_PAINT: |
case WM_PAINT: |