Merge branch 'tor-github/pr/1935'

This commit is contained in:
David Goulet
2020-06-24 15:48:47 -04:00
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1462,7 +1462,7 @@ handle_control_hsfetch(control_connection_t *conn,
rend_valid_descriptor_id(arg1 + v2_str_len) &&
base32_decode(digest, sizeof(digest), arg1 + v2_str_len,
REND_DESC_ID_V2_LEN_BASE32) ==
REND_DESC_ID_V2_LEN_BASE32) {
sizeof(digest)) {
/* We have a well formed version 2 descriptor ID. Keep the decoded value
* of the id. */
desc_id = digest;