mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8207317: SSLEngine negotiation fail exception behavior changed from fail-fast to fail-lazy
Reviewed-by: xuelei
This commit is contained in:
parent
538ba1fb5c
commit
5b511a4a78
14 changed files with 663 additions and 106 deletions
|
@ -191,12 +191,12 @@ final class CertSignAlgsExtension {
|
|||
}
|
||||
|
||||
// update the context
|
||||
List<SignatureScheme> shemes =
|
||||
List<SignatureScheme> schemes =
|
||||
SignatureScheme.getSupportedAlgorithms(
|
||||
shc.algorithmConstraints, shc.negotiatedProtocol,
|
||||
spec.signatureSchemes);
|
||||
shc.peerRequestedCertSignSchemes = shemes;
|
||||
shc.handshakeSession.setPeerSupportedSignatureAlgorithms(shemes);
|
||||
shc.peerRequestedCertSignSchemes = schemes;
|
||||
shc.handshakeSession.setPeerSupportedSignatureAlgorithms(schemes);
|
||||
|
||||
if (!shc.isResumption && shc.negotiatedProtocol.useTLS13PlusSpec()) {
|
||||
if (shc.sslConfig.clientAuthType !=
|
||||
|
@ -337,12 +337,12 @@ final class CertSignAlgsExtension {
|
|||
}
|
||||
|
||||
// update the context
|
||||
List<SignatureScheme> shemes =
|
||||
List<SignatureScheme> schemes =
|
||||
SignatureScheme.getSupportedAlgorithms(
|
||||
chc.algorithmConstraints, chc.negotiatedProtocol,
|
||||
spec.signatureSchemes);
|
||||
chc.peerRequestedCertSignSchemes = shemes;
|
||||
chc.handshakeSession.setPeerSupportedSignatureAlgorithms(shemes);
|
||||
chc.peerRequestedCertSignSchemes = schemes;
|
||||
chc.handshakeSession.setPeerSupportedSignatureAlgorithms(schemes);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue