]> git.ipfire.org Git - thirdparty/tor.git/commit
Restrict the meaning of digests_t to sha1+sha256.
authorNick Mathewson <nickm@torproject.org>
Wed, 27 Jan 2016 18:10:17 +0000 (13:10 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 27 Jan 2016 18:10:17 +0000 (13:10 -0500)
commit39b597c2fd8b45ff61573c70c36e8a4846cf3a0e
tree3cdee49e030a2cf683a2e117472538987d9d76f9
parent4770db8e992365c12c652f53a7d3fd84bae25bcb
Restrict the meaning of digests_t to sha1+sha256.

This saves CPU and RAM when handling consensuses and x509 certs.

Closes ticket 17795; bug not in any released tor.
src/common/crypto.c
src/common/crypto.h