src/java.base/share/classes/sun/security/ssl/DHServerKeyExchange.java
changeset 57718 a93b7b28f644
parent 55353 946f7f2d321c
child 58679 9c3209ff7550
child 58951 d6e682e8fcc3
equal deleted inserted replaced
57716:bfcdcd00e4fb 57718:a93b7b28f644
   123                 useExplicitSigAlgorithm =
   123                 useExplicitSigAlgorithm =
   124                         shc.negotiatedProtocol.useTLS12PlusSpec();
   124                         shc.negotiatedProtocol.useTLS12PlusSpec();
   125                 Signature signer = null;
   125                 Signature signer = null;
   126                 if (useExplicitSigAlgorithm) {
   126                 if (useExplicitSigAlgorithm) {
   127                     signatureScheme = SignatureScheme.getPreferableAlgorithm(
   127                     signatureScheme = SignatureScheme.getPreferableAlgorithm(
       
   128                             shc.algorithmConstraints,
   128                             shc.peerRequestedSignatureSchemes,
   129                             shc.peerRequestedSignatureSchemes,
   129                             x509Possession,
   130                             x509Possession,
   130                             shc.negotiatedProtocol);
   131                             shc.negotiatedProtocol);
   131                     if (signatureScheme == null) {
   132                     if (signatureScheme == null) {
   132                         // Unlikely, the credentials generator should have
   133                         // Unlikely, the credentials generator should have