8077806: mismatch comment and code in CipherSuite.java
authorxuelei
Mon, 19 Oct 2015 08:19:58 +0000
changeset 33236 e4c383318c28
parent 33235 edfac9a33df3
child 33237 566786747ea9
8077806: mismatch comment and code in CipherSuite.java Reviewed-by: xuelei Contributed-by: Time Du <tiantian.du@oracle.com>
jdk/src/java.base/share/classes/sun/security/ssl/CipherSuite.java
--- a/jdk/src/java.base/share/classes/sun/security/ssl/CipherSuite.java	Sun Oct 18 01:43:06 2015 +0200
+++ b/jdk/src/java.base/share/classes/sun/security/ssl/CipherSuite.java	Mon Oct 19 08:19:58 2015 +0000
@@ -350,8 +350,6 @@
     private static void add(String name, int id, int priority,
             KeyExchange keyExchange, BulkCipher cipher, MacAlg mac,
             boolean allowed, int obsoleted) {
-        // If this is an obsoleted suite, then don't let the TLS 1.2
-        // protocol have a valid PRF value.
         PRF prf = obsoleted < ProtocolVersion.TLS12.v ? P_NONE : P_SHA256;
 
         add(name, id, priority, keyExchange, cipher, mac, allowed, obsoleted,