]> git.ipfire.org Git - thirdparty/tor.git/commit
Don't call the system toupper or tolower.
authorNick Mathewson <nickm@torproject.org>
Wed, 6 Apr 2016 03:22:28 +0000 (23:22 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 6 Apr 2016 03:22:28 +0000 (23:22 -0400)
commitd7a0382ba337bd1cbd7568a607d85e303012b22c
treee373ed0ee21e3d9c8030ae172f79ea0ae553cf63
parentd037369e562ec40e602a86919c3e8341c867b48b
Don't call the system toupper or tolower.

Yes, we could cast to unsigned char first, but it's probably safest
to just use our own (in test_util), or remove bad-idea features that
we don't use (in readpassphrase.c).

Fixes 18728.
changes/bug18728 [new file with mode: 0644]
src/ext/readpassphrase.c
src/ext/tor_readpassphrase.h
src/test/test_util.c