mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-10 13:04:23 +01:00
Comment fixes.
-- Reported-by: Daniel Kahn Gillmor
This commit is contained in:
parent
a206c9ee6e
commit
7db5c81e3a
@ -367,10 +367,10 @@ match_dsa_hash (unsigned int qbytes)
|
|||||||
/*
|
/*
|
||||||
First try --digest-algo. If that isn't set, see if the recipient
|
First try --digest-algo. If that isn't set, see if the recipient
|
||||||
has a preferred algorithm (which is also filtered through
|
has a preferred algorithm (which is also filtered through
|
||||||
--preferred-digest-prefs). If we're making a signature without a
|
--personal-digest-prefs). If we're making a signature without a
|
||||||
particular recipient (i.e. signing, rather than signing+encrypting)
|
particular recipient (i.e. signing, rather than signing+encrypting)
|
||||||
then take the first algorithm in --preferred-digest-prefs that is
|
then take the first algorithm in --personal-digest-prefs that is
|
||||||
usable for the pubkey algorithm. If --preferred-digest-prefs isn't
|
usable for the pubkey algorithm. If --personal-digest-prefs isn't
|
||||||
set, then take the OpenPGP default (i.e. SHA-1).
|
set, then take the OpenPGP default (i.e. SHA-1).
|
||||||
|
|
||||||
Possible improvement: Use the highest-ranked usable algorithm from
|
Possible improvement: Use the highest-ranked usable algorithm from
|
||||||
|
Loading…
x
Reference in New Issue
Block a user