diff options
Diffstat (limited to 'patches/tlsexttest.c.patch')
| -rw-r--r-- | patches/tlsexttest.c.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/patches/tlsexttest.c.patch b/patches/tlsexttest.c.patch index 981fc95..cdec053 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 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 @@ 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 | @@ -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 | @@ -1850,14 +1852,14 @@ test_tlsext_sni_serverhello(void) | 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 | @@ -2741,7 +2743,10 @@ unsigned char tlsext_clienthello_default | 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 | @@ -2806,18 +2811,18 @@ test_tlsext_clienthello_build(void) | 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 | @@ -2832,7 +2837,10 @@ test_tlsext_clienthello_build(void) | 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 | @@ -2872,18 +2880,18 @@ test_tlsext_serverhello_build(void) | 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 | ||
