* sign.c (hash_for): If --digest-algo is not set, but
authorDavid Shaw <dshaw@jabberwocky.com>
Mon, 25 Nov 2002 04:06:04 +0000 (04:06 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Mon, 25 Nov 2002 04:06:04 +0000 (04:06 +0000)
commit8b9e9d33c15ceb660d440acc45ab95b3ff54ebac
tree4dd9eda56ddbfc39b17f11c80970cfcf0a6bb799
parentce4ddd144ccdf6d0beb45cdaf707b2dc0983ccdb
* 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, then use the first
160-bit hash algorithm in the personal list. If --pgp2 is set and it's a
v3 RSA key, use MD5.
g10/ChangeLog
g10/sign.c