summaryrefslogtreecommitdiff
path: root/src/or/routerkeys.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-05-30 10:27:42 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-05-30 10:27:42 -0400
commit5b33d95a3dfe943625d78983bb53be2901a51150 (patch)
tree9c28a3511f44a2f03eb9ec302ee5db3e527efcd1 /src/or/routerkeys.h
parent83439e78cc08f5a05d314de4409e69aa6d1601d7 (diff)
downloadtor-5b33d95a3dfe943625d78983bb53be2901a51150.tar.gz
tor-5b33d95a3dfe943625d78983bb53be2901a51150.zip
hs: Correctly validate v3 descriptor encrypted length
The encrypted_data_length_is_valid() function wasn't validating correctly the length of the encrypted data of a v3 descriptor. The side effect of this is that an HSDir was rejecting the descriptor and ultimately not storing it. Fixes #22447 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/routerkeys.h')
0 files changed, 0 insertions, 0 deletions