changeset 13146:5916f63e4d08

8136442: Don't tie Certificate signature algorithms to ciphersuites Reviewed-by: mullan
author xuelei
date Tue, 01 Dec 2015 01:32:51 +0000
parents 5e48fcfa79cb
children 6d129115a8ed
files src/java.base/share/classes/sun/security/ssl/ServerHandshaker.java
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/sun/security/ssl/ServerHandshaker.java	Mon Nov 30 13:27:19 2015 -0800
+++ b/src/java.base/share/classes/sun/security/ssl/ServerHandshaker.java	Tue Dec 01 01:32:51 2015 +0000
@@ -1415,8 +1415,8 @@
                 }
             }
 
-            // need EC cert signed using EC
-            if (setupPrivateKeyAndChain("EC_EC") == false) {
+            // need EC cert
+            if (setupPrivateKeyAndChain("EC") == false) {
                 return false;
             }
             if (setupEphemeralECDHKeys() == false) {
@@ -1424,15 +1424,15 @@
             }
             break;
         case K_ECDH_RSA:
-            // need EC cert signed using RSA
-            if (setupPrivateKeyAndChain("EC_RSA") == false) {
+            // need EC cert
+            if (setupPrivateKeyAndChain("EC") == false) {
                 return false;
             }
             setupStaticECDHKeys();
             break;
         case K_ECDH_ECDSA:
-            // need EC cert signed using EC
-            if (setupPrivateKeyAndChain("EC_EC") == false) {
+            // need EC cert
+            if (setupPrivateKeyAndChain("EC") == false) {
                 return false;
             }
             setupStaticECDHKeys();