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: 1be7882344c5b3eae35539f6c3f490df197574bf
This commit is contained in:
Werner Koch 2023-09-05 08:08:54 +02:00
parent 1be7882344
commit 34f812475e
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -292,7 +292,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));
}