diff options
author | Werner Koch <wk@gnupg.org> | 2023-09-05 08:08:54 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2023-09-05 08:08:54 +0200 |
commit | 362a6dfb0a42c41604f173f24ac0f14b03165c6f (patch) | |
tree | eb7c931ca533bbb60d87d4c4b42bccafec6afdc8 /g10/keyid.c | |
parent | gpg: Add option --with-v5-fingerprint (diff) | |
download | gnupg2-362a6dfb0a42c41604f173f24ac0f14b03165c6f.tar.xz gnupg2-362a6dfb0a42c41604f173f24ac0f14b03165c6f.zip |
gpg: Fix last commit.
* g10/keyid.c (hash_public_key): Do not pass the version.
--
Fixes-commit: 1f76cbca35133969ccccfa324d633556e19a386c
Diffstat (limited to 'g10/keyid.c')
-rw-r--r-- | g10/keyid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keyid.c b/g10/keyid.c index b80ee320e..4a041ce0e 100644 --- a/g10/keyid.c +++ b/g10/keyid.c @@ -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)); } |