--- trunk/Src/wptClipImportDlg.cpp 2007/03/09 12:01:21 285 +++ trunk/Src/wptClipImportDlg.cpp 2007/03/09 19:34:17 286 @@ -1,5 +1,5 @@ /* wptClipImportDlg.cpp - WinPT key import dialog - * Copyright (C) 2001-2006 Timo Schulz + * Copyright (C) 2001-2007 Timo Schulz * Copyright (C) 2005 g10 Code GmbH * * This file is part of WinPT. @@ -13,10 +13,6 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with WinPT; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CONFIG_H #include @@ -45,7 +41,6 @@ print_import_status (gpgme_import_result_t res) { gpgme_import_status_t st; - const char *keyid; int new_keys = res->considered - res->unchanged; dialog_box_param (glob_hinst, (LPCSTR)IDD_WINPT_IMPORT_STAT, glob_hwnd, @@ -55,8 +50,7 @@ for (st=res->imports; st; st=st->next) { if (st->status == 0) /* nothing changed */ continue; - keyid = get_keyid_from_fpr (st->fpr); - keycache_update (0, keyid); + keycache_update (0, st->fpr); } } return !(res->unchanged == res->considered);