]> the.earth.li Git - onak.git/commitdiff
Clean up signature hash calculation code
authorJonathan McDowell <noodles@earth.li>
Tue, 20 Aug 2019 07:12:52 +0000 (08:12 +0100)
committerJonathan McDowell <noodles@earth.li>
Tue, 20 Aug 2019 07:12:52 +0000 (08:12 +0100)
Use the defined digest lengths for MD5/SHA1/SHA1X rather than magic
numbers, clear the hash type at the start and then only set it if we
know it.


No differences found