update patch

This commit is contained in:
Brent Cook 2019-02-09 07:28:07 -06:00
parent 40c848316e
commit 79a66f1b5d

View File

@ -1,6 +1,6 @@
--- tests/tlsexttest.c.orig Fri Jan 18 18:12:03 2019
+++ tests/tlsexttest.c Fri Jan 18 18:44:24 2019
@@ -1676,7 +1676,9 @@
--- tests/tlsexttest.c.orig Sat Feb 9 07:24:55 2019
+++ tests/tlsexttest.c Sat Feb 9 07:25:22 2019
@@ -1670,7 +1670,9 @@
};
static unsigned char tlsext_sni_server[] = {
@ -10,7 +10,7 @@
static int
test_tlsext_sni_client(void)
@@ -1839,9 +1841,9 @@
@@ -1833,9 +1835,9 @@
if (!CBB_finish(&cbb, &data, &dlen))
errx(1, "failed to finish CBB");
@ -22,7 +22,7 @@
goto err;
}
@@ -1850,14 +1852,14 @@
@@ -1844,14 +1846,14 @@
fprintf(stderr, "received:\n");
hexdump(data, dlen);
fprintf(stderr, "test data:\n");
@ -39,8 +39,8 @@
if (!tlsext_sni_client_parse(ssl, &cbs, &alert)) {
FAIL("failed to parse server SNI\n");
goto err;
@@ -2741,7 +2743,10 @@
0x03, 0x01, 0x03, 0x03, 0x02, 0x01, 0x02, 0x03,
@@ -2735,7 +2737,10 @@
0x02, 0x01, 0x02, 0x03,
};
-unsigned char tlsext_clienthello_disabled[] = {};
@ -51,7 +51,7 @@
static int
test_tlsext_clienthello_build(void)
@@ -2806,18 +2811,18 @@
@@ -2800,18 +2805,18 @@
if (!CBB_finish(&cbb, &data, &dlen))
errx(1, "failed to finish CBB");
@ -74,7 +74,7 @@
goto err;
}
@@ -2832,7 +2837,10 @@
@@ -2826,7 +2831,10 @@
return (failure);
}
@ -86,7 +86,7 @@
unsigned char tlsext_serverhello_enabled[] = {
0x00, 0x13, 0xff, 0x01, 0x00, 0x01, 0x00, 0x00,
@@ -2872,18 +2880,18 @@
@@ -2866,18 +2874,18 @@
if (!CBB_finish(&cbb, &data, &dlen))
errx(1, "failed to finish CBB");