[svn] GnuPG - r4022 - trunk/g10
svn author dshaw
cvs at cvs.gnupg.org
Thu Feb 23 20:52:22 CET 2006
Author: dshaw
Date: 2006-02-23 20:52:20 +0100 (Thu, 23 Feb 2006)
New Revision: 4022
Modified:
trunk/g10/ChangeLog
trunk/g10/gpg.c
Log:
* gpg.c (add_notation_data): Fix reversed logic for isascii check when
adding notations. Noted by Christian Biere.
Modified: trunk/g10/ChangeLog
===================================================================
--- trunk/g10/ChangeLog 2006-02-23 17:00:02 UTC (rev 4021)
+++ trunk/g10/ChangeLog 2006-02-23 19:52:20 UTC (rev 4022)
@@ -1,5 +1,8 @@
2006-02-23 David Shaw <dshaw at jabberwocky.com>
+ * gpg.c (add_notation_data): Fix reversed logic for isascii check
+ when adding notations. Noted by Christian Biere.
+
* options.h, keyserver.c (add_canonical_option): New.
(parse_keyserver_options): Moved from here.
(parse_keyserver_uri): Use it here so each keyserver can have some
Modified: trunk/g10/gpg.c
===================================================================
--- trunk/g10/gpg.c 2006-02-23 17:00:02 UTC (rev 4021)
+++ trunk/g10/gpg.c 2006-02-23 19:52:20 UTC (rev 4022)
@@ -4029,7 +4029,7 @@
/* we only support printable text - therefore we enforce the use
* of only printable characters (an empty value is valid) */
for( s++; *s ; s++ ) {
- if ( isascii (*s) )
+ if ( !isascii (*s) )
highbit = 1;
else if (iscntrl(*s)) {
log_error(_("a notation value must not use"
More information about the Gnupg-commits
mailing list