8077806: mismatch comment and code in CipherSuite.java

Reviewed-by: xuelei
This commit is contained in:
Time Du 2015-10-19 08:19:58 +00:00 committed by Xue-Lei Andrew Fan
parent e3d1fffbe4
commit 64f132cecd

View File

@ -350,8 +350,6 @@ final class CipherSuite implements Comparable<CipherSuite> {
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,