Skip to content

Commit

Permalink
TKSS-724: Remove SSLMasterKeyDerivation TLCP11
Browse files Browse the repository at this point in the history
  • Loading branch information
johnshajiang committed Mar 13, 2024
1 parent 78c57a1 commit b2a9585
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import com.tencent.kona.sun.security.ssl.CipherSuite.HashAlg;

enum SSLMasterKeyDerivation implements SSLKeyDerivationGenerator {
TLCP11 ("kdf_tlcp11"),
SSL30 ("kdf_ssl30"),
TLS10 ("kdf_tls10"),
TLS12 ("kdf_tls12");
Expand All @@ -51,14 +50,13 @@ enum SSLMasterKeyDerivation implements SSLKeyDerivationGenerator {

static SSLMasterKeyDerivation valueOf(ProtocolVersion protocolVersion) {
switch (protocolVersion) {
case TLCP11:
return SSLMasterKeyDerivation.TLCP11;
case SSL30:
return SSLMasterKeyDerivation.SSL30;
case TLS10:
case TLS11:
case DTLS10:
return SSLMasterKeyDerivation.TLS10;
case TLCP11:
case TLS12:
case DTLS12:
return SSLMasterKeyDerivation.TLS12;
Expand Down

0 comments on commit b2a9585

Please sign in to comment.