tls 2.4.15 → 2.4.16
raw patch · 4 files changed
+13/−4 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +7/−0
- Network/TLS/Handshake/Common13.hs +3/−1
- test/Certificate.hs +2/−2
- tls.cabal +1/−1
CHANGELOG.md view
@@ -1,5 +1,12 @@ # Change log for "tls" +## Version 2.4.16++* Count milliseconds from the base without overflowing a 32-bit time_t.+ [#644](https://github.com/haskell-tls/hs-tls/pull/644)+* Encode the test certificates as v3.+ [#648](https://github.com/haskell-tls/hs-tls/pull/648)+ ## Version 2.4.15 * Order key_share as supported_groups.
Network/TLS/Handshake/Common13.hs view
@@ -349,7 +349,9 @@ millisecondsFromBase :: UnixTime -> Millisecond millisecondsFromBase (UnixTime (CTime s) us) =- fromIntegral ((s - base) * 1000) + fromIntegral (us `div` 1000)+ -- Multiplied as a Millisecond: time_t has 32 bits on i386, and the+ -- milliseconds since the base overflow it.+ fromIntegral (s - base) * 1000 + fromIntegral (us `div` 1000) where base = 1483228800
test/Certificate.hs view
@@ -61,7 +61,7 @@ let sigalg = getSignatureALG pubKey return $ Certificate- { certVersion = 3+ { certVersion = 2 , certSerial = serial , certSignatureAlg = sigalg , certIssuerDN = issuerdn@@ -80,7 +80,7 @@ simpleCertificate :: PubKey -> Certificate simpleCertificate pubKey = Certificate- { certVersion = 3+ { certVersion = 2 , certSerial = 0 , certSignatureAlg = getSignatureALG pubKey , certIssuerDN = simpleDN
tls.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.0 name: tls-version: 2.4.15+version: 2.4.16 license: BSD3 license-file: LICENSE copyright: Vincent Hanquez <vincent@snarc.org>