mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-03 20:17:36 +03:00
crypto/tls: switch to OpenSSL 1.1.0 for test data.
We will need OpenSSL 1.1.0 in order to test some of the features expected for Go 1.8. However, 1.1.0 also disables (by default) some things that we still want to test, such as RC4, 3DES and SSLv3. Thus developers wanting to update the crypto/tls test data will need to build OpenSSL from source. This change updates the test data with transcripts generated by 1.1.0 (in order to reduce future diffs) and also causes a banner to be printed if 1.1.0 is not used when updating. (The test for an ALPN mismatch is removed because OpenSSL now terminates the connection with a fatal alert if no known ALPN protocols are offered. There's no point testing against this because it's an OpenSSL behaviour.) Change-Id: I957516975e0b8c7def84184f65c81d0b68f1c551 Reviewed-on: https://go-review.googlesource.com/30821 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
4536ac70b0
commit
f0c7db843d
64 changed files with 2840 additions and 2725 deletions
71
testdata/Server-TLSv12-IssueTicket
vendored
71
testdata/Server-TLSv12-IssueTicket
vendored
|
@ -1,15 +1,15 @@
|
|||
>>> Flow 1 (client to server)
|
||||
00000000 16 03 01 00 5e 01 00 00 5a 03 03 68 17 74 7e d7 |....^...Z..h.t~.|
|
||||
00000010 a0 41 aa c8 3f 90 c7 3e b2 e4 91 23 9f b2 86 bb |.A..?..>...#....|
|
||||
00000020 95 6c b6 db c9 f4 f4 4a 6b ef 67 00 00 04 00 05 |.l.....Jk.g.....|
|
||||
00000030 00 ff 01 00 00 2d 00 23 00 00 00 0d 00 20 00 1e |.....-.#..... ..|
|
||||
00000000 16 03 01 00 61 01 00 00 5d 03 03 7f 9d 96 78 84 |....a...].....x.|
|
||||
00000010 4f a7 cd c1 26 60 84 3f d6 e6 06 ca 01 12 69 07 |O...&`.?......i.|
|
||||
00000020 cc cf 91 61 9a 7e 4c c7 e5 73 29 00 00 04 00 2f |...a.~L..s)..../|
|
||||
00000030 00 ff 01 00 00 30 00 23 00 00 00 0d 00 20 00 1e |.....0.#..... ..|
|
||||
00000040 06 01 06 02 06 03 05 01 05 02 05 03 04 01 04 02 |................|
|
||||
00000050 04 03 03 01 03 02 03 03 02 01 02 02 02 03 00 0f |................|
|
||||
00000060 00 01 01 |...|
|
||||
00000050 04 03 03 01 03 02 03 03 02 01 02 02 02 03 00 16 |................|
|
||||
00000060 00 00 00 17 00 00 |......|
|
||||
>>> Flow 2 (server to client)
|
||||
00000000 16 03 03 00 35 02 00 00 31 03 03 00 00 00 00 00 |....5...1.......|
|
||||
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
||||
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 05 00 00 |................|
|
||||
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 2f 00 00 |............./..|
|
||||
00000030 09 00 23 00 00 ff 01 00 01 00 16 03 03 02 59 0b |..#...........Y.|
|
||||
00000040 00 02 55 00 02 52 00 02 4f 30 82 02 4b 30 82 01 |..U..R..O0..K0..|
|
||||
00000050 b4 a0 03 02 01 02 02 09 00 e8 f0 9d 3f e2 5b ea |............?.[.|
|
||||
|
@ -51,32 +51,39 @@
|
|||
00000290 84 5c 21 d3 3b e9 fa e7 16 03 03 00 04 0e 00 00 |.\!.;...........|
|
||||
000002a0 00 |.|
|
||||
>>> Flow 3 (client to server)
|
||||
00000000 16 03 03 00 86 10 00 00 82 00 80 6d a2 f8 29 04 |...........m..).|
|
||||
00000010 65 50 e9 db 02 c9 c7 27 f9 4f fb 74 97 1a 1b cd |eP.....'.O.t....|
|
||||
00000020 c7 fa 70 47 d4 d2 2d 24 28 c3 5c 00 69 48 5c ac |..pG..-$(.\.iH\.|
|
||||
00000030 46 09 74 34 e1 88 d3 b0 11 2a 8c 6b 7a ba 13 21 |F.t4.....*.kz..!|
|
||||
00000040 c1 22 8d 02 3d a8 12 57 cb 10 10 98 1c 7e 87 42 |."..=..W.....~.B|
|
||||
00000050 69 b9 61 e6 ad 5f 45 c8 19 83 e2 36 a6 73 b0 71 |i.a.._E....6.s.q|
|
||||
00000060 f3 b2 68 90 0b 26 b9 12 40 70 f7 bf 9a fb 03 27 |..h..&..@p.....'|
|
||||
00000070 d2 84 a0 1b 4c 38 5f 3e cc 86 10 a0 d1 74 75 77 |....L8_>.....tuw|
|
||||
00000080 6a c6 f9 98 f7 fa 31 d1 0a 80 39 14 03 03 00 01 |j.....1...9.....|
|
||||
00000090 01 16 03 03 00 24 18 94 26 51 b2 b1 ad a3 7c a1 |.....$..&Q....|.|
|
||||
000000a0 d2 8d 7e c8 40 4a 3e 77 ac a6 86 fc 30 f0 b6 9a |..~.@J>w....0...|
|
||||
000000b0 c9 3a 7b 48 95 57 9d c0 f9 d8 |.:{H.W....|
|
||||
00000000 16 03 03 00 86 10 00 00 82 00 80 48 95 70 68 ee |...........H.ph.|
|
||||
00000010 93 9a 44 8c c7 53 48 06 13 2f fc f7 5f a2 84 53 |..D..SH../.._..S|
|
||||
00000020 0e 60 15 c2 2a d1 75 99 77 89 74 70 9b e9 96 95 |.`..*.u.w.tp....|
|
||||
00000030 82 0e 02 49 e6 f5 2e 79 b6 a9 42 63 89 de d6 f9 |...I...y..Bc....|
|
||||
00000040 77 d2 ed d2 8b ac 45 d3 10 14 92 4b 20 06 b8 7e |w.....E....K ..~|
|
||||
00000050 91 9c 3b 71 25 75 d6 44 75 7b 2e 07 a0 d2 06 56 |..;q%u.Du{.....V|
|
||||
00000060 6f 39 c0 1e d6 3c b2 4b ce 5d 51 ee 9a 1a 72 bd |o9...<.K.]Q...r.|
|
||||
00000070 cf ba f3 db 09 92 7a cd 35 ec e9 5c 80 ab d3 b8 |......z.5..\....|
|
||||
00000080 13 51 75 a7 3a 5e 95 10 31 4c 4a 14 03 03 00 01 |.Qu.:^..1LJ.....|
|
||||
00000090 01 16 03 03 00 40 6a 2b e6 c9 1a 30 dc 68 66 55 |.....@j+...0.hfU|
|
||||
000000a0 61 5e 78 15 5c 3f 1c c2 57 ae 98 62 2f fc 27 64 |a^x.\?..W..b/.'d|
|
||||
000000b0 fa a9 10 f7 6d 66 44 4b 50 89 b5 5f a6 7f 96 9b |....mfDKP.._....|
|
||||
000000c0 07 8f ed f9 cf ea 27 c8 7f 1d 08 c9 68 17 0e 05 |......'.....h...|
|
||||
000000d0 73 90 0b 86 6d 9a |s...m.|
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 16 03 03 00 82 04 00 00 7e 00 00 00 00 00 78 50 |........~.....xP|
|
||||
00000010 46 ad c1 db a8 38 86 7b 2b bb fd d0 c3 42 3e 00 |F....8.{+....B>.|
|
||||
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 94 |................|
|
||||
00000030 6f 2c b5 83 61 78 0b 52 39 31 36 f7 0c 5e 27 d3 |o,..ax.R916..^'.|
|
||||
00000040 76 9b c2 af 4e df 30 cb 1d c9 04 ee d2 02 31 f6 |v...N.0.......1.|
|
||||
00000050 33 bc 59 0d 24 61 3c 23 7a 92 ad 16 20 88 1c 5f |3.Y.$a<#z... .._|
|
||||
00000060 20 32 38 fc 30 33 94 39 48 29 9e 70 41 ea 58 cd | 28.03.9H).pA.X.|
|
||||
00000070 66 02 d9 b7 7c 71 1a ad 67 7f 87 a6 4e 3a b7 be |f...|q..g...N:..|
|
||||
00000080 ff 59 39 58 bf 96 4d 14 03 03 00 01 01 16 03 03 |.Y9X..M.........|
|
||||
00000090 00 24 4f 0f f5 bb 09 37 7a 99 29 80 bf ed b5 f7 |.$O....7z.).....|
|
||||
000000a0 7e 27 00 11 05 df 79 67 24 4f 31 0c 69 dd fb 4c |~'....yg$O1.i..L|
|
||||
000000b0 b4 a1 5d 13 2e 39 17 03 03 00 21 82 3d a3 7d d0 |..]..9....!.=.}.|
|
||||
000000c0 37 cb f8 84 0c 0a a1 1e 9e 80 d5 bd ab a2 b9 bd |7...............|
|
||||
000000d0 8c 66 df 29 64 f4 ae 7c 52 a1 8c 9f 15 03 03 00 |.f.)d..|R.......|
|
||||
000000e0 16 e8 75 5e 4e 5b 72 15 01 42 38 a4 fb 61 86 cc |..u^N[r..B8..a..|
|
||||
000000f0 85 65 96 fb 86 11 a7 |.e.....|
|
||||
00000030 6f 2c 9f 83 61 ba 85 c2 4f 82 f7 76 6c 2f 9d 4c |o,..a...O..vl/.L|
|
||||
00000040 16 0e 46 88 f4 1b 1b 35 62 9c c7 e6 0e 44 a4 62 |..F....5b....D.b|
|
||||
00000050 8c 1e 2d 53 f3 8b cd a6 ca dc 12 52 b4 43 a9 d0 |..-S.......R.C..|
|
||||
00000060 16 4c 9a f7 a6 33 94 f7 58 26 2b 75 74 62 e3 11 |.L...3..X&+utb..|
|
||||
00000070 dc f6 40 b0 ab 32 8b 79 63 d1 7e d8 9f db cf cf |..@..2.yc.~.....|
|
||||
00000080 25 29 ea e9 89 43 39 14 03 03 00 01 01 16 03 03 |%)...C9.........|
|
||||
00000090 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |.@..............|
|
||||
000000a0 00 00 a7 14 ba 74 9a 16 b9 cf 08 ec c6 6e d2 fd |.....t.......n..|
|
||||
000000b0 39 92 5d b0 2e 38 35 80 7b 94 fb e4 63 e0 01 0b |9.]..85.{...c...|
|
||||
000000c0 40 a9 61 56 cc 31 44 7f aa c7 91 03 46 55 6a c8 |@.aV.1D.....FUj.|
|
||||
000000d0 c0 d0 17 03 03 00 40 00 00 00 00 00 00 00 00 00 |......@.........|
|
||||
000000e0 00 00 00 00 00 00 00 e3 eb 91 1a 2d 03 f7 bf 29 |...........-...)|
|
||||
000000f0 64 93 36 4e a1 d0 12 86 63 bc 08 ca b1 98 b0 b9 |d.6N....c.......|
|
||||
00000100 d1 4d 65 42 92 68 34 db bd 1b 2b f4 73 8f 84 0c |.MeB.h4...+.s...|
|
||||
00000110 89 aa af b6 48 b5 5d 15 03 03 00 30 00 00 00 00 |....H.]....0....|
|
||||
00000120 00 00 00 00 00 00 00 00 00 00 00 00 92 00 e5 db |................|
|
||||
00000130 4d d0 77 51 0d 26 de 48 9b 4f cd 33 9b 33 ca fd |M.wQ.&.H.O.3.3..|
|
||||
00000140 e2 d3 ff 0d 7f db 9e 0f 3e a8 50 94 |........>.P.|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue