packages feed

tls 2.1.12 → 2.1.13

raw patch · 3 files changed

+11/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,10 @@ # Change log for "tls" +## Version 2.1.13++* Don't contain early_data if serverEarlyDataSize is 0.+  [#510](https://github.com/haskell-tls/hs-tls/pull/510)+ ## Version 2.1.12  * Restore benchmarks.
Network/TLS/Handshake/Server/TLS13.hs view
@@ -168,8 +168,11 @@     createNewSessionTicket life add nonce identity maxSize =         NewSessionTicket13 life add nonce identity nstExtensions       where-        earlyDataExt = toExtensionRaw $ EarlyDataIndication $ Just $ fromIntegral maxSize-        nstExtensions = [earlyDataExt]+        nstExtensions+            | maxSize == 0 = []+            | otherwise = [earlyDataExt]+          where+            earlyDataExt = toExtensionRaw $ EarlyDataIndication $ Just $ fromIntegral maxSize     adjustLifetime i         | i < 0 = 0         | i > 604800 = 604800
tls.cabal view
@@ -1,6 +1,6 @@ cabal-version:      >=1.10 name:               tls-version:            2.1.12+version:            2.1.13 license:            BSD3 license-file:       LICENSE copyright:          Vincent Hanquez <vincent@snarc.org>