diff --git a/README.rst b/README.rst index 93a9fe28e968329ef66aaad3809251a984c1dec6..01e43db02f403c34fe4986e5b56b7682cc89ac26 100644 --- a/README.rst +++ b/README.rst @@ -19,6 +19,7 @@ only. For older draft implementations: +- `draft-27 <https://github.com/ngtcp2/ngtcp2/tree/draft-27>`_ - `draft-25 <https://github.com/ngtcp2/ngtcp2/tree/draft-25>`_ - `draft-24 <https://github.com/ngtcp2/ngtcp2/tree/draft-24>`_ - `draft-23 <https://github.com/ngtcp2/ngtcp2/tree/draft-23>`_ @@ -54,14 +55,14 @@ The client and server under examples directory require patched OpenSSL as crypto backend: * Patched OpenSSL - (https://github.com/tatsuhiro-t/openssl/tree/OpenSSL_1_1_1g-quic-draft-27) + (https://github.com/tatsuhiro-t/openssl/tree/OpenSSL_1_1_1g-quic-draft-28) Build from git -------------- .. code-block:: text - $ git clone --depth 1 -b OpenSSL_1_1_1g-quic-draft-27 https://github.com/tatsuhiro-t/openssl + $ git clone --depth 1 -b OpenSSL_1_1_1g-quic-draft-28 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 04c81a211f949eb628383bda72b07b096e78dc9a..a4939a42286b08921bd63250bd22a61980209193 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 -b OpenSSL_1_1_1g-quic-draft-27 https://github.com/tatsuhiro-t/openssl +git clone --depth 1 -b OpenSSL_1_1_1g-quic-draft-28 https://github.com/tatsuhiro-t/openssl cd openssl ./config enable-tls1_3 --prefix=$PWD/build make -j$(nproc) diff --git a/lib/includes/ngtcp2/ngtcp2.h b/lib/includes/ngtcp2/ngtcp2.h index 8a81b3b2675aff9d372538c29639d383396b0c04..f359aef43fdbae33c408cff21082ba1c647fd37a 100644 --- a/lib/includes/ngtcp2/ngtcp2.h +++ b/lib/includes/ngtcp2/ngtcp2.h @@ -159,7 +159,7 @@ typedef struct ngtcp2_mem { } ngtcp2_mem; /* NGTCP2_PROTO_VER is the supported QUIC protocol version. */ -#define NGTCP2_PROTO_VER 0xff00001bu +#define NGTCP2_PROTO_VER 0xff00001cu /* NGTCP2_PROTO_VER_MAX is the highest QUIC version the library supports. */ #define NGTCP2_PROTO_VER_MAX NGTCP2_PROTO_VER @@ -167,7 +167,7 @@ typedef struct ngtcp2_mem { /* NGTCP2_ALPN_H3 is a serialized form of HTTP/3 ALPN protocol identifier this library supports. Notice that the first byte is the length of the following protocol identifier. */ -#define NGTCP2_ALPN_H3 "\x5h3-27" +#define NGTCP2_ALPN_H3 "\x5h3-28" #define NGTCP2_MAX_PKTLEN_IPV4 1252 #define NGTCP2_MAX_PKTLEN_IPV6 1232