Skip to content

Commit

Permalink
fixing cipher name
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Dec 24, 2024
1 parent 920338d commit a1fff5b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tls/Network/TLS/Extra/Cipher.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module Network.TLS.Extra.Cipher (
cipher13_AES_256_GCM_SHA384,
cipher13_CHACHA20_POLY1305_SHA256,
cipher13_AES_128_CCM_SHA256,
cipher13_TLS_AES_128_CCM_8_SHA256,
cipher13_AES_128_CCM_8_SHA256,

-- ** RFC 5289
cipher_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
Expand Down Expand Up @@ -312,8 +312,8 @@ cipher_TLS13_AES128CCM_SHA256 = cipher13_AES_128_CCM_SHA256
#-}

-- TLS_AES_128_CCM_8_SHA256
cipher13_TLS_AES_128_CCM_8_SHA256 :: Cipher
cipher13_TLS_AES_128_CCM_8_SHA256 =
cipher13_AES_128_CCM_8_SHA256 :: Cipher
cipher13_AES_128_CCM_8_SHA256 =
Cipher
{ cipherID = CipherID 0x1305
, cipherName = "TLS_AES_128_CCM_8_SHA256"
Expand All @@ -325,10 +325,10 @@ cipher13_TLS_AES_128_CCM_8_SHA256 =
}

cipher_TLS13_AES128CCM8_SHA256 :: Cipher
cipher_TLS13_AES128CCM8_SHA256 = cipher13_TLS_AES_128_CCM_8_SHA256
cipher_TLS13_AES128CCM8_SHA256 = cipher13_AES_128_CCM_8_SHA256
{-# DEPRECATED
cipher_TLS13_AES128CCM8_SHA256
"Use cipher13_TLS_AES_128_CCM_8_SHA256 instead"
"Use cipher13_AES_128_CCM_8_SHA256 instead"
#-}

----------------------------------------------------------------
Expand Down

0 comments on commit a1fff5b

Please sign in to comment.