8077806: mismatch comment and code in CipherSuite.java
Reviewed-by: xuelei
Contributed-by: Time Du <tiantian.du@oracle.com>
--- 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,