104 |
gpgme_ctx_t ctx; |
gpgme_ctx_t ctx; |
105 |
gpgme_data_t keydata; |
gpgme_data_t keydata; |
106 |
gpgme_error_t ec; |
gpgme_error_t ec; |
107 |
gpgme_import_result_t import_res; |
gpgme_import_result_t import_res = NULL; |
108 |
int rc; |
int rc; |
109 |
char *rawkey = NULL, msg[384]; |
char *rawkey = NULL, msg[384]; |
110 |
|
|
158 |
/* if we use the refresh mode, a lot of keys will be fetched and thus only |
/* if we use the refresh mode, a lot of keys will be fetched and thus only |
159 |
a summarize at the end is presented and not for each key. */ |
a summarize at the end is presented and not for each key. */ |
160 |
if (!(flags & KM_KS_REFRESH)) { |
if (!(flags & KM_KS_REFRESH)) { |
161 |
if (import_res->new_user_ids == 0) { |
if (import_res && import_res->new_user_ids == 0) { |
162 |
_snprintf (msg, DIM (msg)-1, |
_snprintf (msg, DIM (msg)-1, |
163 |
_("Key '%s' successfully received but nothing was changed."), pattern ); |
_("Key '%s' successfully received but nothing was changed."), pattern ); |
164 |
status_box (dlg, msg, _("GnuPG Status")); |
status_box (dlg, msg, _("GnuPG Status")); |
399 |
switch( LOWORD( wparam ) ) { |
switch( LOWORD( wparam ) ) { |
400 |
case IDC_KEYSERVER_PROXSETT: |
case IDC_KEYSERVER_PROXSETT: |
401 |
dialog_box_param( glob_hinst, (LPCTSTR)IDD_WINPT_KEYSERVER_PROXY, glob_hwnd, |
dialog_box_param( glob_hinst, (LPCTSTR)IDD_WINPT_KEYSERVER_PROXY, glob_hwnd, |
402 |
keyserver_proxy_dlg_proc, NULL, |
keyserver_proxy_dlg_proc, 0, |
403 |
_("Proxy Settings"), IDS_WINPT_KEYSERVER_PROXY ); |
_("Proxy Settings"), IDS_WINPT_KEYSERVER_PROXY ); |
404 |
set_proxy( dlg ); |
set_proxy( dlg ); |
405 |
return TRUE; |
return TRUE; |