1 |
/* wptKeysignDlg.cpp - Key signing dialog |
/* wptKeysignDlg.cpp - Key signing dialog |
2 |
* Copyright (C) 2001-2004 Timo Schulz |
* Copyright (C) 2001-2005 Timo Schulz |
3 |
* |
* |
4 |
* This file is part of WinPT. |
* This file is part of WinPT. |
5 |
* |
* |
43 |
int pos = 0; |
int pos = 0; |
44 |
size_t i; |
size_t i; |
45 |
|
|
46 |
for( i = 0; i < strlen( fpr ); i += 4 ) { |
for( i = 0; i < strlen (fpr); i += 4 ) { |
47 |
pfpr[pos++] = fpr[i]; |
pfpr[pos++] = fpr[i]; |
48 |
pfpr[pos++] = fpr[i+1]; |
pfpr[pos++] = fpr[i+1]; |
49 |
pfpr[pos++] = fpr[i+2]; |
pfpr[pos++] = fpr[i+2]; |
120 |
|
|
121 |
|
|
122 |
static void |
static void |
123 |
do_add_local_user( gpgme_ctx_t ctx, HWND dlg ) |
do_add_local_user (gpgme_ctx_t ctx, HWND dlg) |
124 |
{ |
{ |
125 |
int idx; |
int idx; |
126 |
const char * s; |
const char * s; |
163 |
SetDlgItemText (dlg, IDC_SIGCLASS_CLASS1, _("(1) I have not checked at all.")); |
SetDlgItemText (dlg, IDC_SIGCLASS_CLASS1, _("(1) I have not checked at all.")); |
164 |
SetDlgItemText (dlg, IDC_SIGCLASS_CLASS2, _("(2) I have done causal checking.")); |
SetDlgItemText (dlg, IDC_SIGCLASS_CLASS2, _("(2) I have done causal checking.")); |
165 |
SetDlgItemText (dlg, IDC_SIGCLASS_CLASS3, _("(3) I have done very careful checkings.")); |
SetDlgItemText (dlg, IDC_SIGCLASS_CLASS3, _("(3) I have done very careful checkings.")); |
166 |
|
CheckDlgButton (dlg, IDC_SIGCLASS_CLASS0, BST_CHECKED); |
167 |
SetForegroundWindow (dlg); |
SetForegroundWindow (dlg); |
168 |
center_window (dlg); |
center_window (dlg); |
169 |
return TRUE; |
return TRUE; |