From 68f03afc521df8b9a6c00b978190d15c3c6d0269 Mon Sep 17 00:00:00 2001 From: Bohdan Kuchma Date: Wed, 25 Dec 2024 15:58:41 +0200 Subject: [PATCH] Go fmt --- internal/types/signature_algorithm.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/types/signature_algorithm.go b/internal/types/signature_algorithm.go index cdf9d43..64e3889 100644 --- a/internal/types/signature_algorithm.go +++ b/internal/types/signature_algorithm.go @@ -71,6 +71,7 @@ func verifyECDSA(data, sig []byte, publicKey *ecdsa.PublicKey) error { return errors.New("failed to verify ECDSA signature in raw format") } + func GeneralHash(algorithm HashAlgorithm) hash.Hash { switch algorithm { case SHA1: