mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
We'd been using crypto_digest_dup() and crypto_digest_assign() here, but they aren't necessary. Instead we can just use the stack to store the previous state of the SHA_CTX and avoid a malloc/free pair. Closes ticket 24914.
3 lines
142 B
Text
3 lines
142 B
Text
o Minor features (performance):
|
|
- Avoid a needless call to malloc() when processing an incoming
|
|
relay cell. Closes ticket 24914.
|