gpg: Fix hash detection for ECDSA.
authorWerner Koch <wk@gnupg.org>
Wed, 19 Nov 2014 09:34:32 +0000 (10:34 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 20 Nov 2014 19:09:17 +0000 (20:09 +0100)
commitf80c2dd78d522f12b2c7afbd5c0763a97d87d2bd
tree6ac59ce2672fd8bd0aea13cf2f8ac73b8bc72905
parentcd2c6f36fe5d1d1d45546f5168aead5cbe6487e0
gpg: Fix hash detection for ECDSA.

* g10/sign.c (sign_file): Use DSA or ECDSA and not DSA|EdDSA.
--

This error was introduced with
commit b7f8dec6325f1c80640f878ed3080bbc194fbc78
while separating EdDSA from ECDSA.

Found due to a related bug report from Brian Minton.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/sign.c