add comments
This commit is contained in:
parent
7036d4becd
commit
7ae078c1ce
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,7 @@ class Extension a where
|
|||
extensionDecode :: Bool -> ByteString -> Maybe a
|
||||
extensionEncode :: a -> ByteString
|
||||
|
||||
-- | Secure Renegotiation
|
||||
data SecureRenegotiation = SecureRenegotiation ByteString (Maybe ByteString)
|
||||
deriving (Show,Eq)
|
||||
|
||||
|
@ -60,6 +61,7 @@ instance Extension SecureRenegotiation where
|
|||
in return $ SecureRenegotiation cvd (Just svd)
|
||||
else return $ SecureRenegotiation opaque Nothing
|
||||
|
||||
-- | Next Protocol Negotiation
|
||||
data NextProtocolNegotiation = NextProtocolNegotiation [ByteString]
|
||||
deriving (Show,Eq)
|
||||
|
||||
|
|
Loading…
Reference in a new issue