mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8217610: TLSv1.3 fail with ClassException when EC keys are stored in PKCS11
Reviewed-by: valeriep
This commit is contained in:
parent
2f20909d10
commit
661b5f1534
7 changed files with 36 additions and 16 deletions
|
@ -565,7 +565,7 @@ final class CertificateVerify {
|
|||
ClientHandshakeContext chc = (ClientHandshakeContext)context;
|
||||
this.signatureScheme = SignatureScheme.getPreferableAlgorithm(
|
||||
chc.peerRequestedSignatureSchemes,
|
||||
x509Possession.popPrivateKey,
|
||||
x509Possession,
|
||||
chc.negotiatedProtocol);
|
||||
if (signatureScheme == null) {
|
||||
// Unlikely, the credentials generator should have
|
||||
|
@ -866,7 +866,7 @@ final class CertificateVerify {
|
|||
|
||||
this.signatureScheme = SignatureScheme.getPreferableAlgorithm(
|
||||
context.peerRequestedSignatureSchemes,
|
||||
x509Possession.popPrivateKey,
|
||||
x509Possession,
|
||||
context.negotiatedProtocol);
|
||||
if (signatureScheme == null) {
|
||||
// Unlikely, the credentials generator should have
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue