mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Ensure case match, not mismatch.
svn:r4935
This commit is contained in:
parent
c4b3bf06c6
commit
eab005c948
@ -1188,7 +1188,7 @@ dirserv_get_networkstatus_v2(smartlist_t *result,
|
|||||||
SMARTLIST_FOREACH(hexdigests, char *, cp,
|
SMARTLIST_FOREACH(hexdigests, char *, cp,
|
||||||
{
|
{
|
||||||
cached_dir_t *cached;
|
cached_dir_t *cached;
|
||||||
tor_strlower(cp);
|
tor_strupper(cp);
|
||||||
/* XXXX special-case own key? */
|
/* XXXX special-case own key? */
|
||||||
cached = strmap_get(cached_v2_networkstatus, cp);
|
cached = strmap_get(cached_v2_networkstatus, cp);
|
||||||
if (cached)
|
if (cached)
|
||||||
|
Loading…
Reference in New Issue
Block a user