]> the.earth.li Git - onak.git/commit
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)
commit7a255dd9b5307228b6706904d3def738c3628e45
tree72c142c0c729ac9f5be38f5fa16004d117686e38
parentbe5ba2d0e5abe871511b60918ace010acddb1f5e
Clean up signature hash calculation code

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.
sigcheck.c