mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
fix braino in dirserv.
svn:r5075
This commit is contained in:
parent
e72e76cad6
commit
51da58eccf
@ -171,9 +171,9 @@ dirserv_parse_fingerprint_file(const char *fname)
|
||||
continue;
|
||||
}
|
||||
if (!is_legal_nickname(nickname) &&
|
||||
!strcasecmp(nickname, "!reject") &&
|
||||
!strcasecmp(nickname, "!invalid")) {
|
||||
log(LOG_NOTICE, "Invalid nickname '%s' too long in fingerprint file. Skipping.", nickname);
|
||||
strcasecmp(nickname, "!reject") &&
|
||||
strcasecmp(nickname, "!invalid")) {
|
||||
log(LOG_NOTICE, "Invalid nickname '%s' in fingerprint file. Skipping.", nickname);
|
||||
continue;
|
||||
}
|
||||
if (strlen(fingerprint) != FINGERPRINT_LEN ||
|
||||
|
Loading…
Reference in New Issue
Block a user