g13: Improve printing of debug infos.

* g13/g13tuple.c (all_printable): Make it work.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2017-01-02 13:30:37 +01:00
parent 6b84ecbf31
commit 5b6ebfb924
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ all_printable (const void *buf, size_t buflen)
const unsigned char *s;
for (s=buf ; buflen; s++, buflen--)
if (*s < 32 && *s > 126)
if (*s < 32 || *s > 126)
return 0;
return 1;
}