Skip to content

tor-proto: Replace repeating pattern with fill

Clara Engler requested to merge cve/arti:less-spaghetti-zeroize into main

This commit replaces a repeating code pattern in the set_digest function for setting the 'Recognized' and Digest field to zero with a slice fillment.

Besides this, it also adds comments explaining which fields are currently getting zeroized.

Merge request reports

Loading