diff options
author | Werner Koch <[email protected]> | 2024-11-12 11:05:37 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-11-12 13:01:30 +0000 |
commit | e6232c995f4f353f3fb62fc2af2a44e823dcee2b (patch) | |
tree | 53c3f32d9a431695f4c6e3b881edca01cc6220d5 | |
parent | gpg-mail-tube: Fix content type for an attached non-plaintext. (diff) | |
download | gnupg-e6232c995f4f353f3fb62fc2af2a44e823dcee2b.tar.gz gnupg-e6232c995f4f353f3fb62fc2af2a44e823dcee2b.zip |
gpgconf: Show also the used nPth version with -V
* dirmngr/dirmngr.c (gpgconf_versions): Get and show nPth version.
--
Note that this requires nPth 1.8
-rw-r--r-- | dirmngr/dirmngr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c index f79a0f877..5a9db1491 100644 --- a/dirmngr/dirmngr.c +++ b/dirmngr/dirmngr.c @@ -2567,7 +2567,10 @@ gpgconf_versions (void) const char *s; int n; - /* Unfortunately Npth has no way to get the version. */ +#if NPTH_VERSION_NUMBER >= 0x010800 + es_fprintf (es_stdout, "* nPth %s (%s)\n\n", + npth_get_version (NULL), npth_get_version ("\x01\x02")); +#endif /*NPTH_VERSION_NUMBER*/ s = get_revision_from_blurb (assuan_check_version ("\x01\x01"), &n); es_fprintf (es_stdout, "* Libassuan %s (%.*s)\n\n", |