diff options
author | Werner Koch <[email protected]> | 2019-03-07 13:11:46 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2019-03-07 13:11:46 +0000 |
commit | b7de105e0a836bd4d7bd558f8e699d88ab0cafec (patch) | |
tree | 554adacac5be94a4f5e90105597b293b647b2a8b /dirmngr/ldap-url.c | |
parent | dirmngr: Add CSRF protection exception for protonmail. (diff) | |
download | gnupg-b7de105e0a836bd4d7bd558f8e699d88ab0cafec.tar.gz gnupg-b7de105e0a836bd4d7bd558f8e699d88ab0cafec.zip |
common: Minor rework of tty_get.
* common/ttyio.c (do_get): Re-indent and remove the checking for char
values larger than 0xa0. Use explicy control character checking.
--
The code is really old (mid 1998) and with the checking for 0xa0 it
has an implicit assumption of utf-8 or latin-1. Worse, the check was
for c > 0xa0 and not c == 0xa0 so it never worked as intended.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/ldap-url.c')
0 files changed, 0 insertions, 0 deletions