[Pkg-gnupg-commit] [gnupg2] 13/292: gpgscm: Fix gcrypt version check.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Nov 21 06:31:21 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit 47baeac50ccaaf06dc8b0cebece50f47754de6ca
Author: Werner Koch <wk at gnupg.org>
Date:   Mon Sep 19 08:41:51 2016 +0200

    gpgscm: Fix gcrypt version check.
    
    * tests/gpgscm/main.c (main): Check against required and not installed
    version.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 tests/gpgscm/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/gpgscm/main.c b/tests/gpgscm/main.c
index 9aef1f3..02681ff 100644
--- a/tests/gpgscm/main.c
+++ b/tests/gpgscm/main.c
@@ -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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list