aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ldap-url.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-03-07 13:11:46 +0000
committerWerner Koch <[email protected]>2019-03-07 13:11:46 +0000
commitb7de105e0a836bd4d7bd558f8e699d88ab0cafec (patch)
tree554adacac5be94a4f5e90105597b293b647b2a8b /dirmngr/ldap-url.c
parentdirmngr: Add CSRF protection exception for protonmail. (diff)
downloadgnupg-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