On Fri, 23 Nov 2018 15:18, gnupg-users@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.

Attachment: pgpKeFaRUUEda.pgp
Description: PGP signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to