diff options
| author | Theo Buehler <tb@openbsd.org> | 2022-11-08 10:38:28 +0100 |
|---|---|---|
| committer | Theo Buehler <tb@openbsd.org> | 2022-11-08 10:38:28 +0100 |
| commit | b21936e58f9dbdd149ad38918cacfeec5885576b (patch) | |
| tree | 07c85d731d90b2de09b54bec0922dd6b2761388d | |
| parent | 6e1d17c2746defbf4bf9b2c72983f13a7277bab2 (diff) | |
| download | portable-b21936e58f9dbdd149ad38918cacfeec5885576b.tar.gz portable-b21936e58f9dbdd149ad38918cacfeec5885576b.tar.bz2 portable-b21936e58f9dbdd149ad38918cacfeec5885576b.zip | |
Regen tlsexttest.c patch
| -rw-r--r-- | patches/tlsexttest.c.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/patches/tlsexttest.c.patch b/patches/tlsexttest.c.patch index bc81da5..c1591d7 100644 --- a/patches/tlsexttest.c.patch +++ b/patches/tlsexttest.c.patch | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | --- tests/tlsexttest.c.orig Mon Sep 5 22:30:36 2022 | 1 | --- tests/tlsexttest.c.orig Tue Nov 8 10:32:18 2022 |
| 2 | +++ tests/tlsexttest.c Mon Sep 5 22:32:52 2022 | 2 | +++ tests/tlsexttest.c Tue Nov 8 10:35:52 2022 |
| 3 | @@ -1773,7 +1773,9 @@ static unsigned char tlsext_sni_client[] = { | 3 | @@ -1773,7 +1773,9 @@ static const unsigned char tlsext_sni_client[] = { |
| 4 | }; | 4 | }; |
| 5 | 5 | ||
| 6 | static unsigned char tlsext_sni_server[] = { | 6 | static const unsigned char tlsext_sni_server[] = { |
| 7 | + 0x00 | 7 | + 0x00 |
| 8 | }; | 8 | }; |
| 9 | +const size_t sizeof_tlsext_sni_server = 0; | 9 | +const size_t sizeof_tlsext_sni_server = 0; |
| @@ -39,7 +39,7 @@ | |||
| 39 | if (!client_funcs->parse(ssl, SSL_TLSEXT_MSG_SH, &cbs, &alert)) { | 39 | if (!client_funcs->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 | @@ -3196,7 +3198,10 @@ unsigned char tlsext_clienthello_default[] = { | 42 | @@ -3194,7 +3196,10 @@ unsigned char tlsext_clienthello_default[] = { |
| 43 | 0x04, 0x03, 0x02, 0x01, 0x02, 0x03, | 43 | 0x04, 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 | @@ -3282,18 +3287,18 @@ test_tlsext_clienthello_build(void) | 54 | @@ -3280,18 +3285,18 @@ test_tlsext_clienthello_build(void) |
| 55 | goto err; | 55 | goto err; |
| 56 | } | 56 | } |
| 57 | 57 | ||
