aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-08-05 00:33:34 +0300
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:35 -0400
commit0bf8587858b927d1dcb39189442f55d8dabe50aa (patch)
treec06aedc07b074aded43249de7b90e116df528bea /src/or/routerparse.h
parentfe0c40c9b344853963dc7af0f746d8c772bb3a97 (diff)
downloadtor-0bf8587858b927d1dcb39189442f55d8dabe50aa.tar.gz
tor-0bf8587858b927d1dcb39189442f55d8dabe50aa.zip
Do more type checking when setting HS idents.
I repurposed the old directory_request_set_hs_ident() into a new directory_request_upload_set_hs_ident() which is only used for the upload purpose and so it can assert on the dir_purpose. When coding the client-side we can make a second function for fetch.
Diffstat (limited to 'src/or/routerparse.h')
0 files changed, 0 insertions, 0 deletions