aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/gtls.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-03-31 08:40:24 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-03-31 08:40:24 +0200
commitef813c709749d02d8dee17f5215239909b2fe968 (patch)
tree373ebf9c3065bb666f0fe0512112e0e8d1039559 /lib/vtls/gtls.c
parent9317eced98408c7fefa6dd5f1559050e1ec8a3b7 (diff)
http2: remove _DRAFT09 from the NPN_HTTP2 enum
We're progressing throught drafts so there's no point in having a fixed one in a symbol that'll survive.
Diffstat (limited to 'lib/vtls/gtls.c')
-rw-r--r--lib/vtls/gtls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/gtls.c b/lib/vtls/gtls.c
index 5d335e849..2a9878715 100644
--- a/lib/vtls/gtls.c
+++ b/lib/vtls/gtls.c
@@ -883,7 +883,7 @@ gtls_connect_step3(struct connectdata *conn,
if(proto.size == NGHTTP2_PROTO_VERSION_ID_LEN &&
memcmp(NGHTTP2_PROTO_VERSION_ID, proto.data,
NGHTTP2_PROTO_VERSION_ID_LEN) == 0) {
- conn->negnpn = NPN_HTTP2_DRAFT09;
+ conn->negnpn = NPN_HTTP2;
}
else if(proto.size == ALPN_HTTP_1_1_LENGTH && memcmp(ALPN_HTTP_1_1,
proto.data, ALPN_HTTP_1_1_LENGTH) == 0) {