From 2e4d24ef7319f7423de2e90309072a45697d3639 Mon Sep 17 00:00:00 2001
From: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Thu, 14 Dec 2017 00:38:02 +0900
Subject: [PATCH] Build with patched openssl to enable 0-RTT

---
 README.rst          | 5 ++++-
 ci/build_openssl.sh | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/README.rst b/README.rst
index 39d3a519..7be33e86 100644
--- a/README.rst
+++ b/README.rst
@@ -47,12 +47,15 @@ branch) as crypto backend:
 
 * OpenSSL (https://github.com/openssl/openssl/)
 
+At the moment, the patched OpenSSL is required to compile ngtcp2 to
+enable 0-RTT.  See below.
+
 Build from git
 --------------
 
 .. code-block:: text
 
-   $ git clone --depth 1 https://github.com/openssl/openssl
+   $ git clone --depth 1 -b quic https://github.com/tatsuhiro-t/openssl
    $ cd openssl
    $ # For Linux
    $ ./config enable-tls1_3 --prefix=$PWD/build
diff --git a/ci/build_openssl.sh b/ci/build_openssl.sh
index edcde43f..fecb3296 100755
--- a/ci/build_openssl.sh
+++ b/ci/build_openssl.sh
@@ -2,7 +2,7 @@
 #build last openssl master (for Travis)
 
 cd ..
-git clone --depth 1 https://github.com/openssl/openssl
+git clone --depth 1 -b quic https://github.com/tatsuhiro-t/openssl
 cd openssl
 ./config enable-tls1_3 --prefix=$PWD/build
 make -j$(nproc)
-- 
GitLab