6918d87d90
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>
93 lines
6.8 KiB
Plaintext
93 lines
6.8 KiB
Plaintext
>>> Flow 1 (client to server)
|
|
00000000 16 03 01 00 a3 01 00 00 9f 03 03 00 00 00 00 00 |................|
|
|
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 28 c0 2f |.............(./|
|
|
00000030 c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 c0 09 c0 14 |.+.0.,.'...#....|
|
|
00000040 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 c0 12 00 0a |.......<./.5....|
|
|
00000050 00 05 c0 11 c0 07 01 00 00 4e 33 74 00 00 00 05 |.........N3t....|
|
|
00000060 00 05 01 00 00 00 00 00 0a 00 08 00 06 00 17 00 |................|
|
|
00000070 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 0c 04 |................|
|
|
00000080 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 01 00 |................|
|
|
00000090 00 10 00 10 00 0e 06 70 72 6f 74 6f 32 06 70 72 |.......proto2.pr|
|
|
000000a0 6f 74 6f 31 00 12 00 00 |oto1....|
|
|
>>> Flow 2 (server to client)
|
|
00000000 16 03 03 00 66 02 00 00 62 03 03 d6 86 dc 38 ce |....f...b.....8.|
|
|
00000010 7a e4 81 d8 c8 2a 65 a4 90 70 da 03 5c 29 48 69 |z....*e..p..\)Hi|
|
|
00000020 90 f5 cb 00 5d 3e 98 a5 5c 80 4f 20 42 df b6 1f |....]>..\.O B...|
|
|
00000030 c7 db 87 d5 8a 0c 5d 56 cb 4e 95 7e 7a 82 f1 5f |......]V.N.~z.._|
|
|
00000040 d5 2d 33 a6 a8 82 09 e6 a9 5f d2 7b c0 2f 00 00 |.-3......_.{./..|
|
|
00000050 1a ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 10 |................|
|
|
00000060 00 09 00 07 06 70 72 6f 74 6f 31 16 03 03 02 59 |.....proto1....Y|
|
|
00000070 0b 00 02 55 00 02 52 00 02 4f 30 82 02 4b 30 82 |...U..R..O0..K0.|
|
|
00000080 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d 3f e2 5b |.............?.[|
|
|
00000090 ea a6 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05 |..0...*.H.......|
|
|
000000a0 00 30 1f 31 0b 30 09 06 03 55 04 0a 13 02 47 6f |.0.1.0...U....Go|
|
|
000000b0 31 10 30 0e 06 03 55 04 03 13 07 47 6f 20 52 6f |1.0...U....Go Ro|
|
|
000000c0 6f 74 30 1e 17 0d 31 36 30 31 30 31 30 30 30 30 |ot0...1601010000|
|
|
000000d0 30 30 5a 17 0d 32 35 30 31 30 31 30 30 30 30 30 |00Z..25010100000|
|
|
000000e0 30 5a 30 1a 31 0b 30 09 06 03 55 04 0a 13 02 47 |0Z0.1.0...U....G|
|
|
000000f0 6f 31 0b 30 09 06 03 55 04 03 13 02 47 6f 30 81 |o1.0...U....Go0.|
|
|
00000100 9f 30 0d 06 09 2a 86 48 86 f7 0d 01 01 01 05 00 |.0...*.H........|
|
|
00000110 03 81 8d 00 30 81 89 02 81 81 00 db 46 7d 93 2e |....0.......F}..|
|
|
00000120 12 27 06 48 bc 06 28 21 ab 7e c4 b6 a2 5d fe 1e |.'.H..(!.~...]..|
|
|
00000130 52 45 88 7a 36 47 a5 08 0d 92 42 5b c2 81 c0 be |RE.z6G....B[....|
|
|
00000140 97 79 98 40 fb 4f 6d 14 fd 2b 13 8b c2 a5 2e 67 |.y.@.Om..+.....g|
|
|
00000150 d8 d4 09 9e d6 22 38 b7 4a 0b 74 73 2b c2 34 f1 |....."8.J.ts+.4.|
|
|
00000160 d1 93 e5 96 d9 74 7b f3 58 9f 6c 61 3c c0 b0 41 |.....t{.X.la<..A|
|
|
00000170 d4 d9 2b 2b 24 23 77 5b 1c 3b bd 75 5d ce 20 54 |..++$#w[.;.u]. T|
|
|
00000180 cf a1 63 87 1d 1e 24 c4 f3 1d 1a 50 8b aa b6 14 |..c...$....P....|
|
|
00000190 43 ed 97 a7 75 62 f4 14 c8 52 d7 02 03 01 00 01 |C...ub...R......|
|
|
000001a0 a3 81 93 30 81 90 30 0e 06 03 55 1d 0f 01 01 ff |...0..0...U.....|
|
|
000001b0 04 04 03 02 05 a0 30 1d 06 03 55 1d 25 04 16 30 |......0...U.%..0|
|
|
000001c0 14 06 08 2b 06 01 05 05 07 03 01 06 08 2b 06 01 |...+.........+..|
|
|
000001d0 05 05 07 03 02 30 0c 06 03 55 1d 13 01 01 ff 04 |.....0...U......|
|
|
000001e0 02 30 00 30 19 06 03 55 1d 0e 04 12 04 10 9f 91 |.0.0...U........|
|
|
000001f0 16 1f 43 43 3e 49 a6 de 6d b6 80 d7 9f 60 30 1b |..CC>I..m....`0.|
|
|
00000200 06 03 55 1d 23 04 14 30 12 80 10 48 13 49 4d 13 |..U.#..0...H.IM.|
|
|
00000210 7e 16 31 bb a3 01 d5 ac ab 6e 7b 30 19 06 03 55 |~.1......n{0...U|
|
|
00000220 1d 11 04 12 30 10 82 0e 65 78 61 6d 70 6c 65 2e |....0...example.|
|
|
00000230 67 6f 6c 61 6e 67 30 0d 06 09 2a 86 48 86 f7 0d |golang0...*.H...|
|
|
00000240 01 01 0b 05 00 03 81 81 00 9d 30 cc 40 2b 5b 50 |..........0.@+[P|
|
|
00000250 a0 61 cb ba e5 53 58 e1 ed 83 28 a9 58 1a a9 38 |.a...SX...(.X..8|
|
|
00000260 a4 95 a1 ac 31 5a 1a 84 66 3d 43 d3 2d d9 0b f2 |....1Z..f=C.-...|
|
|
00000270 97 df d3 20 64 38 92 24 3a 00 bc cf 9c 7d b7 40 |... d8.$:....}.@|
|
|
00000280 20 01 5f aa d3 16 61 09 a2 76 fd 13 c3 cc e1 0c | ._...a..v......|
|
|
00000290 5c ee b1 87 82 f1 6c 04 ed 73 bb b3 43 77 8d 0c |\.....l..s..Cw..|
|
|
000002a0 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d ae db 46 |.....@.a.Lr+...F|
|
|
000002b0 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db fe 3d 13 |..M...>...B...=.|
|
|
000002c0 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 cd 0c 00 |`.\!.;..........|
|
|
000002d0 00 c9 03 00 17 41 04 89 49 b3 e4 a9 b8 e5 08 ff |.....A..I.......|
|
|
000002e0 5f f5 8c 97 d5 a0 66 9c 9d 36 22 1e 39 32 be c2 |_.....f..6".92..|
|
|
000002f0 05 6c d5 15 28 31 f8 e7 98 f1 6e 94 d6 72 41 b4 |.l..(1....n..rA.|
|
|
00000300 87 39 0e 63 74 43 de 0a d5 93 51 48 c4 2d f4 20 |.9.ctC....QH.-. |
|
|
00000310 c6 f7 ac 95 a1 b2 40 04 01 00 80 29 ac 3f 1e 0f |......@....).?..|
|
|
00000320 68 56 c5 02 f6 05 63 58 58 56 11 22 d7 e4 8e 22 |hV....cXXV."..."|
|
|
00000330 c9 9f 7e c0 09 08 d6 ba b7 e2 e4 ef 93 4e de b6 |..~..........N..|
|
|
00000340 67 e4 89 10 ef cf b1 c1 bd bc 52 2c 96 4d 4d a5 |g.........R,.MM.|
|
|
00000350 fc 74 97 f8 d5 a2 aa a9 7f 98 0c 08 30 2d b3 de |.t..........0-..|
|
|
00000360 a7 1b 73 ed e1 a1 6f 03 84 71 2e 12 da 86 53 57 |..s...o..q....SW|
|
|
00000370 d1 93 b0 6b 18 53 ec b4 e1 ed ed 82 07 75 dc ff |...k.S.......u..|
|
|
00000380 4f 6d 86 96 67 b8 f1 cb 53 89 74 0f d8 26 38 52 |Om..g...S.t..&8R|
|
|
00000390 1d 36 b6 a7 04 e4 04 bf a6 aa dd 16 03 03 00 04 |.6..............|
|
|
000003a0 0e 00 00 00 |....|
|
|
>>> Flow 3 (client to server)
|
|
00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..|
|
|
00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.|
|
|
00000020 a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e |.$ >.V...(^.+-O.|
|
|
00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I|
|
|
00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......|
|
|
00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 cc 8c |.....(..........|
|
|
00000060 69 a0 e9 29 fb 63 97 e7 c8 6c 78 55 54 52 0c 5a |i..).c...lxUTR.Z|
|
|
00000070 e7 4e bd f7 6d c6 f0 58 f1 85 25 a4 f2 ba |.N..m..X..%...|
|
|
>>> Flow 4 (server to client)
|
|
00000000 14 03 03 00 01 01 16 03 03 00 28 f7 4a 03 ad c5 |..........(.J...|
|
|
00000010 25 e7 e1 b9 1b 24 42 d5 09 e0 d1 3a 0d 9f 1c f7 |%....$B....:....|
|
|
00000020 ff 50 58 a0 94 df ec db 51 b7 78 0d 37 0c 27 e2 |.PX.....Q.x.7.'.|
|
|
00000030 eb f5 de |...|
|
|
>>> Flow 5 (client to server)
|
|
00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 68 c1 51 |.............h.Q|
|
|
00000010 af fa bd 62 55 11 ef 68 f1 1f 7d b2 16 a1 98 20 |...bU..h..}.... |
|
|
00000020 1b d8 2d 15 03 03 00 1a 00 00 00 00 00 00 00 02 |..-.............|
|
|
00000030 f6 3b 3e 30 66 9b 16 22 34 77 4e 7c b5 45 0a b7 |.;>0f.."4wN|.E..|
|
|
00000040 bd 03 |..|
|