1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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
This commit is contained in:
Werner Koch 2024-11-12 12:05:37 +01:00
parent fc47bdad59
commit 5b3fc8abaa
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -2515,7 +2515,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",