Allow checkpointing of non-sha1 digests.
commita34fc1dad2ba2be5af4c04a9c46c9ef5e248c81f
authorNick Mathewson <nickm@torproject.org>
Fri, 16 Feb 2018 14:25:50 +0000 (16 09:25 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 16 Feb 2018 14:25:50 +0000 (16 09:25 -0500)
tree5cf3573e427b5923dd2b763b363f12864dd72e43
parent5c48f62e67faf9d7ba825bba7ddec446aa8d8aed
Allow checkpointing of non-sha1 digests.

This is necessary because apparently v3 rendezvous cpath hops use
sha3, which I had forgotten.

Bugfix on master; bug not in any released Tor.
src/common/crypto.c
src/common/crypto.h