summaryrefslogtreecommitdiff
path: root/src/or/rephist.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2016-05-16 11:18:51 -0400
committerDavid Goulet <dgoulet@torproject.org>2016-05-16 11:18:51 -0400
commit50ff24e27652b4781a127d5dea81c4de96a6fdef (patch)
tree478f710fac37690bc0e4c8ed0551985e198aa3bb /src/or/rephist.h
parent249f3a1664479879dc9096034901614302398841 (diff)
downloadtor-50ff24e27652b4781a127d5dea81c4de96a6fdef.tar.gz
tor-50ff24e27652b4781a127d5dea81c4de96a6fdef.zip
dirauth: don't use hardcoded length when parsing digests
When parsing detached signature, we make sure that we use the length of the digest algorithm instead of an hardcoded DIGEST256_LEN in order to avoid comparing bytes out of bound with a smaller digest length such as SHA1. Fixes #19066 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/rephist.h')
0 files changed, 0 insertions, 0 deletions