17 |
* along with WinPT; if not, write to the Free Software Foundation, |
* along with WinPT; if not, write to the Free Software Foundation, |
18 |
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
19 |
*/ |
*/ |
|
|
|
20 |
#ifdef HAVE_CONFIG_H |
#ifdef HAVE_CONFIG_H |
21 |
#include <config.h> |
#include <config.h> |
22 |
#endif |
#endif |
23 |
|
|
24 |
#include <windows.h> |
#include <windows.h> |
|
#include <windows.h> |
|
25 |
#include <commctrl.h> |
#include <commctrl.h> |
26 |
#include <time.h> |
#include <time.h> |
27 |
|
|
129 |
return FALSE; |
return FALSE; |
130 |
|
|
131 |
case WM_INITDIALOG: |
case WM_INITDIALOG: |
132 |
|
SetWindowText (dlg, _("Signature Properties")); |
133 |
|
SetDlgItemText (dlg, IDC_SIGPROPS_EXP, _("Exportable")); |
134 |
|
SetDlgItemText (dlg, IDC_SIGPROPS_NREV, _("Non-revocably")); |
135 |
|
SetDlgItemText (dlg, IDC_SIGPROPS_EXPIRED, _("Expired")); |
136 |
|
SetDlgItemText (dlg, IDC_SIGPROPS_REV, _("Revoked")); |
137 |
|
SetDlgItemText (dlg, IDC_SIGPROPS_CLASSINF, _("Class")); |
138 |
|
SetDlgItemText (dlg, IDC_SIGPROPS_EXPSTR, _("Expire date")); |
139 |
|
SetDlgItemText (dlg, IDC_SIGPROPS_KEYINF, _("Issuer key")); |
140 |
|
SetDlgItemText (dlg, IDC_SIGPROPS_KEYIDINF, _("Issuer key ID")); |
141 |
lv = (listview_ctrl_t)lparam; |
lv = (listview_ctrl_t)lparam; |
142 |
if (!lv) |
if (!lv) |
143 |
dlg_fatal_error (dlg, "could not get dialog param"); |
dlg_fatal_error (dlg, "could not get dialog param"); |
263 |
static int |
static int |
264 |
recv_missing_keys (HWND dlg, listview_ctrl_t lv) |
recv_missing_keys (HWND dlg, listview_ctrl_t lv) |
265 |
{ |
{ |
266 |
int i, n, rc; |
int i, n, rc=0; |
267 |
char id[128], keyid[18+1]; |
char id[128], keyid[18+1]; |
268 |
|
|
269 |
n = listview_count_items (lv, 0); |
n = listview_count_items (lv, 0); |