mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Fixed the new key selection code
This commit is contained in:
parent
2473b7e2f0
commit
fbbcb797c5
20 changed files with 211 additions and 94 deletions
|
@ -414,7 +414,7 @@ import_one( const char *fname, KBNODE keyblock, int fast )
|
|||
/* do we have this key already in one of our pubrings ? */
|
||||
pk_orig = m_alloc_clear( sizeof *pk_orig );
|
||||
rc = get_pubkey( pk_orig, keyid );
|
||||
if( rc && rc != G10ERR_NO_PUBKEY ) {
|
||||
if( rc && rc != G10ERR_NO_PUBKEY && rc != G10ERR_UNU_PUBKEY ) {
|
||||
log_error( _("key %08lX: public key not found: %s\n"),
|
||||
(ulong)keyid[1], g10_errstr(rc));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue