diff options
author | Werner Koch <[email protected]> | 2012-11-16 09:35:33 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2013-04-22 17:59:34 +0000 |
commit | 7db5c81e3a40b60e146f29c6744a33fd1b88c090 (patch) | |
tree | 34fb3e770bdcb7212f9ea1c91cc40312550b5872 | |
parent | Adjust git-log-fix for cherry-picked commits. (diff) | |
download | gnupg-7db5c81e3a40b60e146f29c6744a33fd1b88c090.tar.gz gnupg-7db5c81e3a40b60e146f29c6744a33fd1b88c090.zip |
Comment fixes.
--
Reported-by: Daniel Kahn Gillmor
-rw-r--r-- | g10/sign.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/sign.c b/g10/sign.c index 91f7f8424..7d5236ac1 100644 --- a/g10/sign.c +++ b/g10/sign.c @@ -367,10 +367,10 @@ match_dsa_hash (unsigned int qbytes) /* First try --digest-algo. If that isn't set, see if the recipient 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) - then take the first algorithm in --preferred-digest-prefs that is - usable for the pubkey algorithm. If --preferred-digest-prefs isn't + then take the first algorithm in --personal-digest-prefs that is + usable for the pubkey algorithm. If --personal-digest-prefs isn't set, then take the OpenPGP default (i.e. SHA-1). Possible improvement: Use the highest-ranked usable algorithm from |