Skip to content

Commit

Permalink
Merge branch 'master' into JDK-8320597
Browse files Browse the repository at this point in the history
alexeybakhtin authored Dec 15, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 73e9909 + 2131e40 commit 9844e5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jdk/src/share/classes/sun/security/rsa/RSASignature.java
Original file line number Diff line number Diff line change
@@ -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();

0 comments on commit 9844e5c

Please sign in to comment.