hs-v3: Consolidate descriptor cookie computation code

Both client and service had their own code for this. Consolidate into one
place so we avoid duplication.

Closes #27549

Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
David Goulet
2018-09-18 13:50:12 -04:00
committed by Nick Mathewson
parent 50367d06f2
commit 3a8f32067d
2 changed files with 61 additions and 31 deletions
+3
View File
@@ -0,0 +1,3 @@
o Code simplification and refactoring (hidden service v3):
- Consolidate the authorized client descriptor cookie computation code
from client and service into one function. Closes ticket 27549.