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