[git] GPGME - branch, master, updated. gpgme-1.6.0-333-gdfd99ab
by Justus Winter
cvs at cvs.gnupg.org
Mon Sep 12 15:44:10 CEST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".
The branch, master has been updated
via dfd99ab50c3bc1d6745b6f682791e4885e8d8a9a (commit)
from a0263ad282d350b548cbbc27e96f196d9217d040 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dfd99ab50c3bc1d6745b6f682791e4885e8d8a9a
Author: Justus Winter <justus at g10code.com>
Date: Mon Sep 12 15:42:07 2016 +0200
tests: Fix version comparison.
* tests/gpg/t-sig-notation.c: Fix version comparison.
Fixes-commit: a0263ad2
Signed-off-by: Justus Winter <justus at g10code.com>
diff --git a/tests/gpg/t-sig-notation.c b/tests/gpg/t-sig-notation.c
index 798ad24..98d5095 100644
--- a/tests/gpg/t-sig-notation.c
+++ b/tests/gpg/t-sig-notation.c
@@ -147,8 +147,8 @@ main (int argc, char *argv[])
/* GnuPG prior to 2.1.13 did not report the critical flag
correctly. */
have_correct_sig_data =
- ! (strncmp ("1.", engine_info->version, 2)
- || (strncmp ("2.1.1", engine_info->version, 5)
+ ! (strncmp ("1.", engine_info->version, 2) == 0
+ || (strncmp ("2.1.1", engine_info->version, 5) == 0
&& (engine_info->version[5] == 0
|| engine_info->version[5] < '3')));
-----------------------------------------------------------------------
Summary of changes:
tests/gpg/t-sig-notation.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
GnuPG Made Easy
http://git.gnupg.org
More information about the Gnupg-commits
mailing list