aboutsummaryrefslogtreecommitdiff
path: root/patches/tlsexttest.c.patch
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2019-02-09 07:28:07 -0600
committerBrent Cook <busterb@gmail.com>2019-02-09 07:28:07 -0600
commit79a66f1b5d4f39354992f334a1d9eeee038edf03 (patch)
treed60247537f41739d5961317496c3b112bf7ed2db /patches/tlsexttest.c.patch
parent40c848316e6f457eb1b799ff0c680ae42a30f80b (diff)
downloadportable-79a66f1b5d4f39354992f334a1d9eeee038edf03.tar.gz
portable-79a66f1b5d4f39354992f334a1d9eeee038edf03.tar.bz2
portable-79a66f1b5d4f39354992f334a1d9eeee038edf03.zip
update patch
Diffstat (limited to 'patches/tlsexttest.c.patch')
-rw-r--r--patches/tlsexttest.c.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/patches/tlsexttest.c.patch b/patches/tlsexttest.c.patch
index 3d8e1c9..23cbde8 100644
--- a/patches/tlsexttest.c.patch
+++ b/patches/tlsexttest.c.patch
@@ -1,6 +1,6 @@
1--- tests/tlsexttest.c.orig Fri Jan 18 18:12:03 2019 1--- tests/tlsexttest.c.orig Sat Feb 9 07:24:55 2019
2+++ tests/tlsexttest.c Fri Jan 18 18:44:24 2019 2+++ tests/tlsexttest.c Sat Feb 9 07:25:22 2019
3@@ -1676,7 +1676,9 @@ 3@@ -1670,7 +1670,9 @@
4 }; 4 };
5 5
6 static unsigned char tlsext_sni_server[] = { 6 static unsigned char tlsext_sni_server[] = {
@@ -10,7 +10,7 @@
10 10
11 static int 11 static int
12 test_tlsext_sni_client(void) 12 test_tlsext_sni_client(void)
13@@ -1839,9 +1841,9 @@ 13@@ -1833,9 +1835,9 @@
14 if (!CBB_finish(&cbb, &data, &dlen)) 14 if (!CBB_finish(&cbb, &data, &dlen))
15 errx(1, "failed to finish CBB"); 15 errx(1, "failed to finish CBB");
16 16
@@ -22,7 +22,7 @@
22 goto err; 22 goto err;
23 } 23 }
24 24
25@@ -1850,14 +1852,14 @@ 25@@ -1844,14 +1846,14 @@
26 fprintf(stderr, "received:\n"); 26 fprintf(stderr, "received:\n");
27 hexdump(data, dlen); 27 hexdump(data, dlen);
28 fprintf(stderr, "test data:\n"); 28 fprintf(stderr, "test data:\n");
@@ -39,8 +39,8 @@
39 if (!tlsext_sni_client_parse(ssl, &cbs, &alert)) { 39 if (!tlsext_sni_client_parse(ssl, &cbs, &alert)) {
40 FAIL("failed to parse server SNI\n"); 40 FAIL("failed to parse server SNI\n");
41 goto err; 41 goto err;
42@@ -2741,7 +2743,10 @@ 42@@ -2735,7 +2737,10 @@
43 0x03, 0x01, 0x03, 0x03, 0x02, 0x01, 0x02, 0x03, 43 0x02, 0x01, 0x02, 0x03,
44 }; 44 };
45 45
46-unsigned char tlsext_clienthello_disabled[] = {}; 46-unsigned char tlsext_clienthello_disabled[] = {};
@@ -51,7 +51,7 @@
51 51
52 static int 52 static int
53 test_tlsext_clienthello_build(void) 53 test_tlsext_clienthello_build(void)
54@@ -2806,18 +2811,18 @@ 54@@ -2800,18 +2805,18 @@
55 if (!CBB_finish(&cbb, &data, &dlen)) 55 if (!CBB_finish(&cbb, &data, &dlen))
56 errx(1, "failed to finish CBB"); 56 errx(1, "failed to finish CBB");
57 57
@@ -74,7 +74,7 @@
74 goto err; 74 goto err;
75 } 75 }
76 76
77@@ -2832,7 +2837,10 @@ 77@@ -2826,7 +2831,10 @@
78 return (failure); 78 return (failure);
79 } 79 }
80 80
@@ -86,7 +86,7 @@
86 86
87 unsigned char tlsext_serverhello_enabled[] = { 87 unsigned char tlsext_serverhello_enabled[] = {
88 0x00, 0x13, 0xff, 0x01, 0x00, 0x01, 0x00, 0x00, 88 0x00, 0x13, 0xff, 0x01, 0x00, 0x01, 0x00, 0x00,
89@@ -2872,18 +2880,18 @@ 89@@ -2866,18 +2874,18 @@
90 if (!CBB_finish(&cbb, &data, &dlen)) 90 if (!CBB_finish(&cbb, &data, &dlen))
91 errx(1, "failed to finish CBB"); 91 errx(1, "failed to finish CBB");
92 92