diff options
author | Brent Cook <busterb@gmail.com> | 2022-02-06 21:11:52 -0600 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2022-02-06 21:11:52 -0600 |
commit | a27642bf418cb1d464d2d19226e5a13007068cf6 (patch) | |
tree | 923deed35cd52bd4e472ebe1b7be7464e5be1c96 /patches/tlsexttest.c.patch | |
parent | e70d8cba5c448f2229cb1114efa2684fc4e5d4f7 (diff) | |
download | portable-a27642bf418cb1d464d2d19226e5a13007068cf6.tar.gz portable-a27642bf418cb1d464d2d19226e5a13007068cf6.tar.bz2 portable-a27642bf418cb1d464d2d19226e5a13007068cf6.zip |
rebase patches
Diffstat (limited to 'patches/tlsexttest.c.patch')
-rw-r--r-- | patches/tlsexttest.c.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/patches/tlsexttest.c.patch b/patches/tlsexttest.c.patch index f81c196..be73102 100644 --- a/patches/tlsexttest.c.patch +++ b/patches/tlsexttest.c.patch | |||
@@ -1,5 +1,5 @@ | |||
1 | --- tests/tlsexttest.c.orig Mon Apr 5 01:40:26 2021 | 1 | --- tests/tlsexttest.c.orig Sun Feb 6 20:37:16 2022 |
2 | +++ tests/tlsexttest.c Thu Apr 8 04:17:13 2021 | 2 | +++ tests/tlsexttest.c Sun Feb 6 21:07:42 2022 |
3 | @@ -1658,7 +1658,9 @@ | 3 | @@ -1658,7 +1658,9 @@ |
4 | }; | 4 | }; |
5 | 5 | ||
@@ -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 | @@ -1821,9 +1823,9 @@ | 13 | @@ -1843,9 +1845,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 | @@ -1832,14 +1834,14 @@ | 25 | @@ -1854,14 +1856,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_client_parse(ssl, SSL_TLSEXT_MSG_SH, &cbs, &alert)) { | 39 | if (!tlsext_sni_client_parse(ssl, SSL_TLSEXT_MSG_SH, &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 | @@ -2723,7 +2725,10 @@ | 42 | @@ -2746,7 +2748,10 @@ |
43 | 0x04, 0x03, 0x02, 0x01, 0x02, 0x03, | 43 | 0x04, 0x03, 0x02, 0x01, 0x02, 0x03, |
44 | }; | 44 | }; |
45 | 45 | ||
@@ -51,9 +51,9 @@ | |||
51 | 51 | ||
52 | static int | 52 | static int |
53 | test_tlsext_clienthello_build(void) | 53 | test_tlsext_clienthello_build(void) |
54 | @@ -2791,18 +2796,18 @@ | 54 | @@ -2823,18 +2828,18 @@ |
55 | if (!CBB_finish(&cbb, &data, &dlen)) | 55 | goto err; |
56 | errx(1, "failed to finish CBB"); | 56 | } |
57 | 57 | ||
58 | - if (dlen != sizeof(tlsext_clienthello_disabled)) { | 58 | - if (dlen != sizeof(tlsext_clienthello_disabled)) { |
59 | + if (dlen != sizeof_tlsext_clienthello_disabled) { | 59 | + if (dlen != sizeof_tlsext_clienthello_disabled) { |