mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-21 10:09: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:
parent
813bd4f3d2
commit
d54db0ac42
@ -2568,7 +2568,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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user