diff options
Diffstat (limited to 'g10/parse-packet.c')
-rw-r--r-- | g10/parse-packet.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c index e0fe9c0c8..d0190fd43 100644 --- a/g10/parse-packet.c +++ b/g10/parse-packet.c @@ -2474,7 +2474,10 @@ parse_key (IOBUF inp, int pkttype, unsigned long pktlen, } else { - log_error ("packet(%d) with unknown version %d\n", pkttype, version); + if (version == 5) + log_info ("packet(%d) with unsupported version %d\n", pkttype, version); + else + log_error ("packet(%d) with unsupported version %d\n", pkttype,version); if (list_mode) es_fputs (":key packet: [unknown version]\n", listfp); err = gpg_error (GPG_ERR_UNKNOWN_VERSION); |