diff options
author | Werner Koch <wk@gnupg.org> | 2008-06-26 21:09:07 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2008-06-26 21:09:07 +0200 |
commit | a6a9181818d86219da202137c1697b826a3ea151 (patch) | |
tree | eeaf866d273a9308bf19091b06cd248333cc058a /common | |
parent | g10/ (diff) | |
download | gnupg2-a6a9181818d86219da202137c1697b826a3ea151.tar.xz gnupg2-a6a9181818d86219da202137c1697b826a3ea151.zip |
Start support of TCOS 3 cards.
Support restriction attribute.
Fix utf-8 printing problems.
Use AES by default.
Diffstat (limited to 'common')
-rw-r--r-- | common/ChangeLog | 6 | ||||
-rw-r--r-- | common/estream.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/common/ChangeLog b/common/ChangeLog index 3840eaacd..dcee95bbf 100644 --- a/common/ChangeLog +++ b/common/ChangeLog @@ -1,3 +1,9 @@ +2008-06-26 Werner Koch <wk@g10code.com> + + * estream.c (es_write_sanitized): Loose check for control + characters to better cope with utf-8. The range 0x80..0x9f is + nowadays not anymore accidently used for control charaters. + 2008-06-25 Marcus Brinkmann <marcus@g10code.de> Revert last three changes related to handle translation. 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 == '\\'))) { |