8210846: TLSv.1.3 interop problems with OpenSSL 1.1.1 when used on the client side with mutual auth
authorjnimeh
Wed, 19 Sep 2018 16:07:03 -0700
changeset 51812 30e6079a9a12
parent 51811 4be08a5102b0
child 51813 cfa50d6a6fba
8210846: TLSv.1.3 interop problems with OpenSSL 1.1.1 when used on the client side with mutual auth Reviewed-by: wetmore
src/java.base/share/classes/sun/security/ssl/SignatureAlgorithmsExtension.java
--- a/src/java.base/share/classes/sun/security/ssl/SignatureAlgorithmsExtension.java	Thu Sep 20 00:19:46 2018 +0200
+++ b/src/java.base/share/classes/sun/security/ssl/SignatureAlgorithmsExtension.java	Wed Sep 19 16:07:03 2018 -0700
@@ -525,7 +525,7 @@
             // signatures appearing in certificates.
             SignatureSchemesSpec certSpec =
                     (SignatureSchemesSpec)chc.handshakeExtensions.get(
-                            SSLExtension.CH_SIGNATURE_ALGORITHMS_CERT);
+                            SSLExtension.CR_SIGNATURE_ALGORITHMS_CERT);
             if (certSpec == null) {
                 chc.peerRequestedCertSignSchemes = sss;
                 chc.handshakeSession.setPeerSupportedSignatureAlgorithms(sss);