diff --git a/jdk/src/share/classes/sun/security/rsa/RSASignature.java b/jdk/src/share/classes/sun/security/rsa/RSASignature.java index c459c9d88ea..43e150073e7 100644 --- a/jdk/src/share/classes/sun/security/rsa/RSASignature.java +++ b/jdk/src/share/classes/sun/security/rsa/RSASignature.java @@ -213,9 +213,9 @@ protected boolean engineVerify(byte[] sigBytes) throws SignatureException { RSACore.getByteLength(publicKey)); } - // https://www.rfc-editor.org/rfc/rfc8017.html#section-8.2.2 - // Step 4 suggests comparing the encoded message try { + // https://www.rfc-editor.org/rfc/rfc8017.html#section-8.2.2 + // Step 4 suggests comparing the encoded message byte[] decrypted = RSACore.rsa(sigBytes, publicKey); byte[] digest = getDigestValue();