diff options
author | bobsayshilol <bobsayshilol@live.co.uk> | 2018-11-07 23:45:17 +0000 |
---|---|---|
committer | bobsayshilol <bobsayshilol@live.co.uk> | 2018-11-07 23:45:17 +0000 |
commit | 34394e7ee024d2b88bed9c61b9a19bba6ec5e49e (patch) | |
tree | 38dc244b7011d3e16b240857d3bdafc57723cc63 /patches/tlsexttest.c.patch | |
parent | d826f2dfc13d08c7c69fed7ecc28aed7443e81f7 (diff) | |
download | portable-34394e7ee024d2b88bed9c61b9a19bba6ec5e49e.tar.gz portable-34394e7ee024d2b88bed9c61b9a19bba6ec5e49e.tar.bz2 portable-34394e7ee024d2b88bed9c61b9a19bba6ec5e49e.zip |
Misc fixes to bring portable in line with upstream.
Diffstat (limited to 'patches/tlsexttest.c.patch')
-rw-r--r-- | patches/tlsexttest.c.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/patches/tlsexttest.c.patch b/patches/tlsexttest.c.patch index 981fc95..6a4184d 100644 --- a/patches/tlsexttest.c.patch +++ b/patches/tlsexttest.c.patch | |||
@@ -1,6 +1,6 @@ | |||
1 | --- tests/tlsexttest.c.orig 2017-12-30 20:03:09.279079726 +0900 | 1 | --- tests/tlsexttest.c.orig 2017-12-30 20:03:09.279079726 +0900 |
2 | +++ tests/tlsexttest.c 2017-12-30 20:07:21.849939140 +0900 | 2 | +++ tests/tlsexttest.c 2017-12-30 20:07:21.849939140 +0900 |
3 | @@ -1676,7 +1676,9 @@ static unsigned char tlsext_sni_clienthe | 3 | @@ -1676,7 +1676,9 @@ |
4 | }; | 4 | }; |
5 | 5 | ||
6 | static unsigned char tlsext_sni_serverhello[] = { | 6 | static unsigned char tlsext_sni_serverhello[] = { |
@@ -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 | @@ -1839,9 +1841,9 @@ test_tlsext_sni_serverhello(void) | 13 | @@ -1841,9 +1843,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 @@ test_tlsext_sni_serverhello(void) | 25 | @@ -1852,14 +1854,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 | @@ -2741,7 +2743,10 @@ unsigned char tlsext_clienthello_default | 42 | @@ -2744,7 +2746,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 | @@ -2806,18 +2811,18 @@ test_tlsext_clienthello_build(void) | 54 | @@ -2811,18 +2816,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 @@ test_tlsext_clienthello_build(void) | 77 | @@ -2837,7 +2842,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 @@ test_tlsext_serverhello_build(void) | 89 | @@ -2877,18 +2885,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 | ||