1692 |
|
|
1693 |
case ID_KEYMISC_IMPORT_HTTP: |
case ID_KEYMISC_IMPORT_HTTP: |
1694 |
url = (struct URL_ctx_s*)get_http_file_dlg (dlg); |
url = (struct URL_ctx_s*)get_http_file_dlg (dlg); |
1695 |
if (url->cancel == 0) { |
if (url && url->cancel == 0) { |
1696 |
km_http_import (dlg, url->url); |
km_http_import (dlg, url->url); |
1697 |
refresh_keylist (kmi); |
refresh_keylist (kmi); |
1698 |
} |
} |
1811 |
if (!key) |
if (!key) |
1812 |
BUG (NULL); |
BUG (NULL); |
1813 |
memset (&k, 0, sizeof (k)); |
memset (&k, 0, sizeof (k)); |
1814 |
k.keyid = key->subkeys->keyid+8; |
strncpy (k.tmp_keyid, key->subkeys->keyid+8, 8); |
1815 |
|
k.keyid = k.tmp_keyid; |
1816 |
|
k.is_protected = km_check_if_protected (kmi->lv, kmi->lv_idx); |
1817 |
keyedit_set_pref_keyserver (&k, dlg); |
keyedit_set_pref_keyserver (&k, dlg); |
1818 |
break; |
break; |
1819 |
|
|