diff options
Diffstat (limited to 'g10/import.c')
-rw-r--r-- | g10/import.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/import.c b/g10/import.c index 657b2deb6..ba9531234 100644 --- a/g10/import.c +++ b/g10/import.c @@ -959,7 +959,8 @@ read_block( IOBUF a, unsigned int options, else if (rc ) /* (ignore errors) */ { skip_sigs = 0; - if (gpg_err_code (rc) == GPG_ERR_UNKNOWN_PACKET) + if (gpg_err_code (rc) == GPG_ERR_UNKNOWN_PACKET + || gpg_err_code (rc) == GPG_ERR_UNKNOWN_VERSION) ; /* Do not show a diagnostic. */ else if (gpg_err_code (rc) == GPG_ERR_INV_PACKET && (pkt->pkttype == PKT_USER_ID |