mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
gpgscm: Fix gcrypt version check.
* tests/gpgscm/main.c (main): Check against required and not installed version. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
18bbefa27f
commit
47baeac50c
@ -230,7 +230,7 @@ main (int argc, char **argv)
|
||||
i18n_init ();
|
||||
init_common_subsystems (&argc, &argv);
|
||||
|
||||
if (!gcry_check_version (GCRYPT_VERSION))
|
||||
if (!gcry_check_version (NEED_LIBGCRYPT_VERSION))
|
||||
{
|
||||
fputs ("libgcrypt version mismatch\n", stderr);
|
||||
exit (2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user