aboutsummaryrefslogtreecommitdiffstats
path: root/common/estream.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2008-06-26 19:09:07 +0000
committerWerner Koch <[email protected]>2008-06-26 19:09:07 +0000
commita6a9181818d86219da202137c1697b826a3ea151 (patch)
treeeeaf866d273a9308bf19091b06cd248333cc058a /common/estream.c
parentg10/ (diff)
downloadgnupg-a6a9181818d86219da202137c1697b826a3ea151.tar.gz
gnupg-a6a9181818d86219da202137c1697b826a3ea151.zip
Start support of TCOS 3 cards.
Support restriction attribute. Fix utf-8 printing problems. Use AES by default.
Diffstat (limited to '')
-rw-r--r--common/estream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/estream.c b/common/estream.c
index e712e85cd..254fab93a 100644
--- a/common/estream.c
+++ b/common/estream.c
@@ -3074,7 +3074,7 @@ es_write_sanitized (estream_t ES__RESTRICT stream,
for (; length; length--, p++, count++)
{
if (*p < 0x20
- || (*p >= 0x7f && *p < 0xa0)
+ || *p == 0x7f
|| (delimiters
&& (strchr (delimiters, *p) || *p == '\\')))
{