diff --git a/g10/ChangeLog b/g10/ChangeLog index 77b05a6a1..8a87e1a16 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,5 +1,8 @@ 2006-02-23 David Shaw + * 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 diff --git a/g10/gpg.c b/g10/gpg.c index e748ee06e..92b274ba4 100644 --- a/g10/gpg.c +++ b/g10/gpg.c @@ -4029,7 +4029,7 @@ add_notation_data( const char *string, int which ) /* 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"