1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-18 14:17:03 +01:00

crypto-refresh secret key handling for v5 key.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2022-04-12 16:52:39 +09:00
parent d587002389
commit 5dc6ef7e69

View File

@ -2947,7 +2947,7 @@ parse_key (IOBUF inp, int pkttype, unsigned long pktlen,
} }
/* Skip count of secret key material. */ /* Skip count of secret key material. */
if (is_v5) if (0 && is_v5)
{ {
if (pktlen < 4) if (pktlen < 4)
{ {