diff options
author | Micah Elizabeth Scott <beth@torproject.org> | 2023-05-28 16:35:31 -0700 |
---|---|---|
committer | Micah Elizabeth Scott <beth@torproject.org> | 2023-05-28 20:02:02 -0700 |
commit | a397a92be2032e781479fa4d53a04f9b369ea1ac (patch) | |
tree | d3f35ebb5bfb99af84d911c96033ac53b28672fd /doc/man/tor.1.txt | |
parent | a3513dea54c1de6da4f5224624f545cd0d527891 (diff) | |
download | tor-a397a92be2032e781479fa4d53a04f9b369ea1ac.tar.gz tor-a397a92be2032e781479fa4d53a04f9b369ea1ac.zip |
hs_pow: Update for equix API to fix issue 40794
This change adapts the hs_pow layer and unit tests to API changes
in hashx and equix which modify the fault recovery responsibilities
and reporting behaivor.
This and the corresponding implementation changes in hashx and equix
form the fix for #40794, both solving the segfault and giving hashx a
way to report those failures up the call chain without them being
mistaken for a different error (unusable seed) that would warrant a
retry.
To handle these new late compiler failures with a minimum of fuss or
inefficiency, the failover is delegated to the internals of hashx and
tor needs only pass in a EQUIX_CTX_TRY_COMPILE flag to get the behavior
that tor was previously responsible for implementing.
Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
Diffstat (limited to 'doc/man/tor.1.txt')
0 files changed, 0 insertions, 0 deletions