mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
touchups on 78582760
This commit is contained in:
parent
2b1119db77
commit
f2199763cf
@ -2716,7 +2716,7 @@ extrainfo_dump_to_string(char **s_out, extrainfo_t *extrainfo,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Return true iff <b>s</b> is a valid server nickname. (That is, a string
|
/** Return true iff <b>s</b> is a valid server nickname. (That is, a string
|
||||||
* containing between 1 and MAX_NICKNAME_LEN chracters from
|
* containing between 1 and MAX_NICKNAME_LEN characters from
|
||||||
* LEGAL_NICKNAME_CHARACTERS.) */
|
* LEGAL_NICKNAME_CHARACTERS.) */
|
||||||
int
|
int
|
||||||
is_legal_nickname(const char *s)
|
is_legal_nickname(const char *s)
|
||||||
@ -2742,7 +2742,7 @@ is_legal_nickname_or_hexdigest(const char *s)
|
|||||||
/** Return true iff <b>s</b> is a valid hex-encoded identity-key
|
/** Return true iff <b>s</b> is a valid hex-encoded identity-key
|
||||||
* digest. (That is, an optional $, followed by 40 hex characters,
|
* digest. (That is, an optional $, followed by 40 hex characters,
|
||||||
* followed by either nothing, or = or ~ followed by a nickname, or
|
* followed by either nothing, or = or ~ followed by a nickname, or
|
||||||
* a character other thant =, ~, or a hex character.)
|
* a character other than =, ~, or a hex character.)
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
is_legal_hexdigest(const char *s)
|
is_legal_hexdigest(const char *s)
|
||||||
|
Loading…
Reference in New Issue
Block a user