src/java.base/share/classes/sun/security/ssl/CertSignAlgsExtension.java
branchJDK-8145252-TLS13-branch
changeset 56600 58ad02eb44c3
parent 56542 56aaa6cb3693
child 56704 c3ee22c3a0f6
--- a/src/java.base/share/classes/sun/security/ssl/CertSignAlgsExtension.java	Wed May 23 09:33:37 2018 -0700
+++ b/src/java.base/share/classes/sun/security/ssl/CertSignAlgsExtension.java	Wed May 23 11:55:41 2018 -0700
@@ -196,6 +196,7 @@
                             shc.algorithmConstraints, shc.negotiatedProtocol,
                             spec.signatureSchemes);
             shc.peerRequestedCertSignSchemes = shemes;
+            shc.handshakeSession.setPeerSupportedSignatureAlgorithms(shemes);
 
             if (!shc.isResumption && shc.negotiatedProtocol.useTLS13PlusSpec()) {
                 if (shc.sslConfig.clientAuthType !=
@@ -341,6 +342,7 @@
                             chc.algorithmConstraints, chc.negotiatedProtocol,
                             spec.signatureSchemes);
             chc.peerRequestedCertSignSchemes = shemes;
+            chc.handshakeSession.setPeerSupportedSignatureAlgorithms(shemes);
         }
     }
 }