From: Jonathan McDowell Date: Tue, 20 Aug 2019 07:12:52 +0000 (+0100) Subject: Clean up signature hash calculation code X-Git-Tag: onak-0.6.0~25 X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=7a255dd9b5307228b6706904d3def738c3628e45;hp=7a255dd9b5307228b6706904d3def738c3628e45;p=onak.git 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. ---