diff --git a/x509/x509.go b/x509/x509.go index b2e31f7..c710655 100644 --- a/x509/x509.go +++ b/x509/x509.go @@ -889,6 +889,7 @@ func checkSignature(algo SignatureAlgorithm, signed, signature []byte, publicKey if details.algo == algo { hashType = details.hash pubKeyAlgo = details.pubKeyAlgo + break } }