]> git.ipfire.org Git - thirdparty/tor.git/commit
sr: add the base16 RSA identity digest to commit
authorDavid Goulet <dgoulet@torproject.org>
Mon, 4 Jul 2016 16:05:48 +0000 (12:05 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Mon, 4 Jul 2016 16:05:48 +0000 (12:05 -0400)
commit267e16ea616b3466652bfee81fec507ea45d96a6
tree50b10b4b6f2658953b5a3cfbbeba21298dc1ec2b
parentbe78e9ff3782639b9fa72dcfa9bda559cfc83f17
sr: add the base16 RSA identity digest to commit

Keep the base16 representation of the RSA identity digest in the commit object
so we can use it without using hex_str() or dynamically encoding it everytime
we need it. It's used extensively in the logs for instance.

Fixes #19561

Signed-off-by: David Goulet <dgoulet@torproject.org>
src/or/shared_random.c
src/or/shared_random.h
src/test/test_shared_random.c