diff options
| author | Brent Cook <busterb@gmail.com> | 2022-08-29 08:42:43 -0500 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2022-08-29 09:06:06 -0500 |
| commit | ed9359727a502d5ec5162e4017f76ffccf6aaa79 (patch) | |
| tree | 6a56c1f4bc7ed9948e02ebcfecc58849cda8a6db /patches | |
| parent | 08895e84976efd5f63bc515856efe43aad5abffb (diff) | |
| download | portable-ed9359727a502d5ec5162e4017f76ffccf6aaa79.tar.gz portable-ed9359727a502d5ec5162e4017f76ffccf6aaa79.tar.bz2 portable-ed9359727a502d5ec5162e4017f76ffccf6aaa79.zip | |
build updates for latest upstream
Diffstat (limited to 'patches')
| -rw-r--r-- | patches/tlsexttest.c.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/patches/tlsexttest.c.patch b/patches/tlsexttest.c.patch index 3c93df8..5b9ceb1 100644 --- a/patches/tlsexttest.c.patch +++ b/patches/tlsexttest.c.patch | |||
| @@ -1,6 +1,12 @@ | |||
| 1 | <<<<<<< HEAD | ||
| 1 | --- tests/tlsexttest.c.orig Mon Aug 15 07:54:28 2022 | 2 | --- tests/tlsexttest.c.orig Mon Aug 15 07:54:28 2022 |
| 2 | +++ tests/tlsexttest.c Mon Aug 15 07:57:01 2022 | 3 | +++ tests/tlsexttest.c Mon Aug 15 07:57:01 2022 |
| 3 | @@ -1773,7 +1773,9 @@ static unsigned char tlsext_sni_client[] = { | 4 | @@ -1773,7 +1773,9 @@ static unsigned char tlsext_sni_client[] = { |
| 5 | ======= | ||
| 6 | --- tests/tlsexttest.c.orig Mon Aug 29 06:02:26 2022 | ||
| 7 | +++ tests/tlsexttest.c Mon Aug 29 06:18:01 2022 | ||
| 8 | @@ -1773,7 +1773,9 @@ | ||
| 9 | >>>>>>> 051c15d (build updates for latest upstream) | ||
| 4 | }; | 10 | }; |
| 5 | 11 | ||
| 6 | static unsigned char tlsext_sni_server[] = { | 12 | static unsigned char tlsext_sni_server[] = { |
| @@ -10,7 +16,11 @@ | |||
| 10 | 16 | ||
| 11 | static int | 17 | static int |
| 12 | test_tlsext_sni_client(void) | 18 | test_tlsext_sni_client(void) |
| 19 | <<<<<<< HEAD | ||
| 13 | @@ -1971,9 +1973,9 @@ test_tlsext_sni_server(void) | 20 | @@ -1971,9 +1973,9 @@ test_tlsext_sni_server(void) |
| 21 | ======= | ||
| 22 | @@ -1971,9 +1973,9 @@ | ||
| 23 | >>>>>>> 051c15d (build updates for latest upstream) | ||
| 14 | if (!CBB_finish(&cbb, &data, &dlen)) | 24 | if (!CBB_finish(&cbb, &data, &dlen)) |
| 15 | errx(1, "failed to finish CBB"); | 25 | errx(1, "failed to finish CBB"); |
| 16 | 26 | ||
| @@ -22,7 +32,11 @@ | |||
| 22 | goto err; | 32 | goto err; |
| 23 | } | 33 | } |
| 24 | 34 | ||
| 35 | <<<<<<< HEAD | ||
| 25 | @@ -1982,14 +1984,14 @@ test_tlsext_sni_server(void) | 36 | @@ -1982,14 +1984,14 @@ test_tlsext_sni_server(void) |
| 37 | ======= | ||
| 38 | @@ -1982,14 +1984,14 @@ | ||
| 39 | >>>>>>> 051c15d (build updates for latest upstream) | ||
| 26 | fprintf(stderr, "received:\n"); | 40 | fprintf(stderr, "received:\n"); |
| 27 | hexdump(data, dlen); | 41 | hexdump(data, dlen); |
| 28 | fprintf(stderr, "test data:\n"); | 42 | fprintf(stderr, "test data:\n"); |
| @@ -39,7 +53,11 @@ | |||
| 39 | if (!client_funcs->parse(ssl, SSL_TLSEXT_MSG_SH, &cbs, &alert)) { | 53 | if (!client_funcs->parse(ssl, SSL_TLSEXT_MSG_SH, &cbs, &alert)) { |
| 40 | FAIL("failed to parse server SNI\n"); | 54 | FAIL("failed to parse server SNI\n"); |
| 41 | goto err; | 55 | goto err; |
| 56 | <<<<<<< HEAD | ||
| 42 | @@ -3194,7 +3196,10 @@ unsigned char tlsext_clienthello_default[] = { | 57 | @@ -3194,7 +3196,10 @@ unsigned char tlsext_clienthello_default[] = { |
| 58 | ======= | ||
| 59 | @@ -3196,7 +3198,10 @@ | ||
| 60 | >>>>>>> 051c15d (build updates for latest upstream) | ||
| 43 | 0x04, 0x03, 0x02, 0x01, 0x02, 0x03, | 61 | 0x04, 0x03, 0x02, 0x01, 0x02, 0x03, |
| 44 | }; | 62 | }; |
| 45 | 63 | ||
| @@ -51,7 +69,11 @@ | |||
| 51 | 69 | ||
| 52 | static int | 70 | static int |
| 53 | test_tlsext_clienthello_build(void) | 71 | test_tlsext_clienthello_build(void) |
| 72 | <<<<<<< HEAD | ||
| 54 | @@ -3280,18 +3285,18 @@ test_tlsext_clienthello_build(void) | 73 | @@ -3280,18 +3285,18 @@ test_tlsext_clienthello_build(void) |
| 74 | ======= | ||
| 75 | @@ -3282,18 +3287,18 @@ | ||
| 76 | >>>>>>> 051c15d (build updates for latest upstream) | ||
| 55 | goto err; | 77 | goto err; |
| 56 | } | 78 | } |
| 57 | 79 | ||
