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 c8a7e8d253
commit e6232c995f
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -2567,7 +2567,10 @@ gpgconf_versions (void)
const char *s; const char *s;
int n; 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); s = get_revision_from_blurb (assuan_check_version ("\x01\x01"), &n);
es_fprintf (es_stdout, "* Libassuan %s (%.*s)\n\n", es_fprintf (es_stdout, "* Libassuan %s (%.*s)\n\n",