mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
* mainproc.c (proc_encrypted): Use --s2k-digest-algo for passphrase
mangling rather than --digest-algo.
This commit is contained in:
parent
8b9e9d33c1
commit
bd23076c5e
@ -1,5 +1,8 @@
|
||||
2002-11-24 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* mainproc.c (proc_encrypted): Use --s2k-digest-algo for
|
||||
passphrase mangling rather than --digest-algo.
|
||||
|
||||
* sign.c (hash_for): If --digest-algo is not set, but
|
||||
--personal-digest-preferences is, then use the first hash
|
||||
algorithm in the personal list. If the signing algorithm is DSA,
|
||||
|
@ -477,7 +477,7 @@ proc_encrypted( CTX c, PACKET *pkt )
|
||||
}
|
||||
else {
|
||||
algo = CIPHER_ALGO_IDEA;
|
||||
if (!opt.def_digest_algo) {
|
||||
if (!opt.s2k_digest_algo) {
|
||||
/* If no digest is given we assume MD5 */
|
||||
s2kbuf.mode = 0;
|
||||
s2kbuf.hash_algo = DIGEST_ALGO_MD5;
|
||||
|
Loading…
x
Reference in New Issue
Block a user