aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_hs.c
Commit message (Collapse)AuthorAge
* fix longname returned in HS_DESC control eventsQingping Hou2014-02-06
| | | | | | | | | According to control spec, longname should not contain any spaces and is consists only of identy_digest + nickname added two functions: * node_get_verbose_nickname_by_id() * node_describe_longname_by_id()
* Clean up test_hs.c: warning fix; tor_free() usage.Nick Mathewson2014-02-03
| | | | | | | | | | | | | | | My OSX laptop rightly gave a warning because of sticking strlen() into an int, but once I took a closer look... it appears that the strlen() was part of a needlessly verbose implementation for tor_strdup(). While I was there, I fixed the usage of tor_free() in test_hs.c: It checks for NULL, and it zeros its argument. So instead of if (foo) { tor_free(foo); foo = NULL; } we should just say tor_free(foo);
* add test case for hidden service async eventsQingping Hou2014-01-29