aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgconf.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 /tools/gpgconf.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 'tools/gpgconf.c')
-rw-r--r--tools/gpgconf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/gpgconf.c b/tools/gpgconf.c
index 181109f9a..13170e452 100644
--- a/tools/gpgconf.c
+++ b/tools/gpgconf.c
@@ -1040,11 +1040,9 @@ show_version_libgcrypt (estream_t fp)
s = get_revision_from_blurb (gcry_check_version ("\x01\x01"), &n);
es_fprintf (fp, "* Libgcrypt %s (%.*s)\n",
gcry_check_version (NULL), n, s);
-#if GCRYPT_VERSION_NUMBER >= 0x010800
s = gcry_get_config (0, NULL);
if (s)
es_fputs (s, fp);
-#endif
}