aboutsummaryrefslogtreecommitdiffstats
path: root/agent/pksign.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-01-19 09:33:03 +0000
committerWerner Koch <[email protected]>2021-01-19 09:33:03 +0000
commit9500432b7ae10d98b30c58de4357e2ffb93bf795 (patch)
tree63ebc784ad1b417a75df15ccda1d2b335add61c9 /agent/pksign.c
parenttools: Add option --clock to watchgnupg (diff)
downloadgnupg-9500432b7ae10d98b30c58de4357e2ffb93bf795.tar.gz
gnupg-9500432b7ae10d98b30c58de4357e2ffb93bf795.zip
Require Libgcrypt 1.9
* configure.ac: Require at least Libgcrypt 1.9.0. Remove all GCRYPT_VERSION_NUMBER dependent code. -- Only Libgcrypt 1.9 implements EAX which is a mandatory algorithm in RFC4880bis. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'agent/pksign.c')
-rw-r--r--agent/pksign.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/agent/pksign.c b/agent/pksign.c
index d9ffe6019..ca9a35292 100644
--- a/agent/pksign.c
+++ b/agent/pksign.c
@@ -513,12 +513,6 @@ agent_pksign_do (ctrl_t ctrl, const char *cache_nonce,
if (err)
goto leave;
- if (algo == GCRY_PK_RSA && GCRYPT_VERSION_NUMBER < 0x010700)
- {
- /* It's RSA and Libgcrypt < 1.7 */
- check_signature = 1;
- }
-
if (DBG_CRYPTO)
{
gcry_log_debugsxp ("skey", s_skey);