Newbie Question about initialization
Werner Koch
wk at gnupg.org
Fri Nov 23 20:54:08 CET 2018
On Fri, 23 Nov 2018 15:18, gnupg-users at gnupg.org said:
> gcry_version_check(1.8.4)
gcry_check_version requires a string with the version number or NULL.
Thus
--8<---------------cut here---------------start------------->8---
const char *s;
if ((s=gcry_version_check ("1.8.4")))
printf ("Version of Libgcrypt okay; got version=%s\n", s);
--8<---------------cut here---------------end--------------->8---
You can use NULL if you only want to initialize the library or to get
the version number.
Shalom-Salam,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20181123/e5449f17/attachment.sig>
More information about the Gnupg-users
mailing list