23 |
#endif |
#endif |
24 |
|
|
25 |
#include <windows.h> |
#include <windows.h> |
|
#include <windows.h> |
|
26 |
#include <commctrl.h> |
#include <commctrl.h> |
27 |
|
|
28 |
#include "../resource.h" |
#include "resource.h" |
29 |
#include "wptErrors.h" |
#include "wptErrors.h" |
30 |
#include "wptAgent.h" |
#include "wptAgent.h" |
31 |
#include "wptCrypto.h" |
#include "wptCrypto.h" |
103 |
gpgme_ctx_t ctx; |
gpgme_ctx_t ctx; |
104 |
passphrase_cb_s pwd; |
passphrase_cb_s pwd; |
105 |
char *signer = NULL; |
char *signer = NULL; |
106 |
int force_trust = 0, opt = 0; |
int force_trust = 0; |
107 |
int kmode = reg_prefs.keylist_mode? KEYLIST_ENCRYPT_MIN : KEYLIST_ENCRYPT; |
int kmode = reg_prefs.keylist_mode? KEYLIST_ENCRYPT_MIN : KEYLIST_ENCRYPT; |
108 |
int n; |
int n; |
109 |
|
|
139 |
notify = (NMHDR *)lparam; |
notify = (NMHDR *)lparam; |
140 |
if (notify && notify->code == NM_DBLCLK |
if (notify && notify->code == NM_DBLCLK |
141 |
&& notify->idFrom == IDC_SIGNENC_KEYLIST) |
&& notify->idFrom == IDC_SIGNENC_KEYLIST) |
142 |
PostMessage (dlg, WM_COMMAND, MAKEWPARAM (IDOK, 0), NULL); |
PostMessage (dlg, WM_COMMAND, MAKEWPARAM (IDOK, 0), 0); |
143 |
return TRUE; |
return TRUE; |
144 |
|
|
145 |
case WM_SYSCOMMAND: |
case WM_SYSCOMMAND: |