gpg: Fix last commit.

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

Fixes-commit: 1be7882344
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
1 changed files with 1 additions and 1 deletions

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));
}