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