diff options
author | Werner Koch <[email protected]> | 2008-09-29 15:02:55 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2008-09-29 15:02:55 +0000 |
commit | 7d63aa42e5d2c086810e3d7eca64a01f366b4e88 (patch) | |
tree | 7dccaebaa7f86d56fef8beb00eb9c2bc583ede20 /g10/sign.c | |
parent | 2008-09-28 Marcus Brinkmann <[email protected]> (diff) | |
download | gnupg-7d63aa42e5d2c086810e3d7eca64a01f366b4e88.tar.gz gnupg-7d63aa42e5d2c086810e3d7eca64a01f366b4e88.zip |
Remove hacks which are not anymore needed since we now require Libgcrypt 1.4
Diffstat (limited to '')
-rw-r--r-- | g10/sign.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/g10/sign.c b/g10/sign.c index 022622b20..597aba786 100644 --- a/g10/sign.c +++ b/g10/sign.c @@ -346,9 +346,7 @@ match_dsa_hash (unsigned int qbytes) if (qbytes <= 20) return DIGEST_ALGO_SHA1; - /* SHA244 is only available with libgcrypt 1.4 - thus do a runtime - test. */ - if (qbytes <= 28 && !gcry_md_test_algo (DIGEST_ALGO_SHA224)) + if (qbytes <= 28) return DIGEST_ALGO_SHA224; if (qbytes <= 32) |