diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,5 +1,10 @@
 # Revision history for http2-tls
 
+## 0.5.10
+
+* Build with tls 2.6, whose early data sizes are `Word32`.
+* Allow crypton-x509-validation 1.11.
+
 
 ## 0.5.9
 
diff --git a/Network/HTTP2/TLS/Server.hs b/Network/HTTP2/TLS/Server.hs
--- a/Network/HTTP2/TLS/Server.hs
+++ b/Network/HTTP2/TLS/Server.hs
@@ -306,7 +306,7 @@
         , serverShared = shared
         , serverHooks = hooks
         , serverDebug = debug
-        , serverEarlyDataSize = settingsEarlyDataSize
+        , serverEarlyDataSize = fromIntegral settingsEarlyDataSize
         }
   where
     shared =
diff --git a/http2-tls.cabal b/http2-tls.cabal
--- a/http2-tls.cabal
+++ b/http2-tls.cabal
@@ -1,6 +1,6 @@
 cabal-version: >=1.10
 name:          http2-tls
-version:       0.5.9
+version:       0.5.10
 license:       BSD3
 license-file:  LICENSE
 maintainer:    Kazu Yamamoto <kazu@iij.ad.jp>
@@ -41,7 +41,7 @@
         bytestring >=0.10,
         crypton-x509-store >=1.9.0 && <1.11,
         crypton-x509-system >=1.9.0 && <1.11,
-        crypton-x509-validation >=1.9 && <1.11,
+        crypton-x509-validation >=1.9 && <1.12,
         http2 >=5.4.13 && <5.5,
         network >=3.2.12,
         network-control >=0.1 && <0.2,
@@ -49,7 +49,7 @@
         recv >=0.1.3 && <0.2,
         stm >=2.4,
         time-manager >=0.5 && <0.6,
-        tls >=2.3.0 && <2.6,
+        tls >=2.3.0 && <2.7,
         utf8-string >=1.0 && <1.1
 
 executable h2-client
