1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

gpg: Fix last commit.

* g10/keyid.c (hash_public_key): Do not pass the version.
--

Fixes-commit: 1f76cbca35133969ccccfa324d633556e19a386c
This commit is contained in:
Werner Koch 2023-09-05 08:08:54 +02:00
parent 1f76cbca35
commit 362a6dfb0a
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -287,7 +287,7 @@ do_hash_public_key (gcry_md_hd_t md, PKT_public_key *pk, int use_v5)
void
hash_public_key (gcry_md_hd_t md, PKT_public_key *pk)
{
do_hash_public_key (md, pk, pk->version);
do_hash_public_key (md, pk, (pk->version == 5));
}