aboutsummaryrefslogtreecommitdiff
path: root/patches/tlsexttest.c.patch
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2018-11-07 20:00:29 -0600
committerBrent Cook <bcook@openbsd.org>2018-11-07 20:04:11 -0600
commit11bb39ecf6e58a5e44fc8043004b3f455f30b8fe (patch)
tree9845ff5edbb4cc370bb5f0ab9c4787668bd46f07 /patches/tlsexttest.c.patch
parent34394e7ee024d2b88bed9c61b9a19bba6ec5e49e (diff)
downloadportable-11bb39ecf6e58a5e44fc8043004b3f455f30b8fe.tar.gz
portable-11bb39ecf6e58a5e44fc8043004b3f455f30b8fe.tar.bz2
portable-11bb39ecf6e58a5e44fc8043004b3f455f30b8fe.zip
Rediffed patches for merge fuzz
Diffstat (limited to 'patches/tlsexttest.c.patch')
-rw-r--r--patches/tlsexttest.c.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/patches/tlsexttest.c.patch b/patches/tlsexttest.c.patch
index 6a4184d..cdec053 100644
--- a/patches/tlsexttest.c.patch
+++ b/patches/tlsexttest.c.patch
@@ -1,5 +1,5 @@
1--- tests/tlsexttest.c.orig 2017-12-30 20:03:09.279079726 +0900 1--- tests/tlsexttest.c.orig Wed Nov 7 20:01:26 2018
2+++ tests/tlsexttest.c 2017-12-30 20:07:21.849939140 +0900 2+++ tests/tlsexttest.c Wed Nov 7 20:01:35 2018
3@@ -1676,7 +1676,9 @@ 3@@ -1676,7 +1676,9 @@
4 }; 4 };
5 5
@@ -10,7 +10,7 @@
10 10
11 static int 11 static int
12 test_tlsext_sni_clienthello(void) 12 test_tlsext_sni_clienthello(void)
13@@ -1841,9 +1843,9 @@ 13@@ -1839,9 +1841,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@@ -1852,14 +1854,14 @@ 25@@ -1850,14 +1852,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,7 +39,7 @@
39 if (!tlsext_sni_serverhello_parse(ssl, &cbs, &alert)) { 39 if (!tlsext_sni_serverhello_parse(ssl, &cbs, &alert)) {
40 FAIL("failed to parse serverhello SNI\n"); 40 FAIL("failed to parse serverhello SNI\n");
41 goto err; 41 goto err;
42@@ -2744,7 +2746,10 @@ 42@@ -2741,7 +2743,10 @@
43 0x03, 0x01, 0x03, 0x03, 0x02, 0x01, 0x02, 0x03, 43 0x03, 0x01, 0x03, 0x03, 0x02, 0x01, 0x02, 0x03,
44 }; 44 };
45 45
@@ -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@@ -2811,18 +2816,18 @@ 54@@ -2806,18 +2811,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@@ -2837,7 +2842,10 @@ 77@@ -2832,7 +2837,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@@ -2877,18 +2885,18 @@ 89@@ -2872,18 +2880,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