Home GnuPG
Diffusion GnuPG a942986f1737

scd:openpgp: Fix computing fingerprint for ECC with SOS.

Description

scd:openpgp: Fix computing fingerprint for ECC with SOS.

* scd/app-openpgp.c (count_sos_bits): New.  Count as sos_write does.
(store_fpr): For ECC, use count_sos_bits.

(cherry picked from commit 95156ef9bfb6a3a525454d50ae2f5b538ccbd774)
and
(cherry picked from commit f482e4bd121ff2862bfb53a82f1d5c2cf3524a10)

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Mar 15 2021, 9:00 AM
wernerCommitted on Oct 10 2023, 12:06 PM
Parents
rG24033dc8aeaa: scd:openpgp: Very minor refactoring
Branches
Unknown
Tags
Unknown