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:
Adam Langley 2016-10-11 10:08:57 -07:00
parent 4536ac70b0
commit f0c7db843d
64 changed files with 2840 additions and 2725 deletions

View file

@ -11,11 +11,11 @@
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 0c a7 7a d3 5c |....f...b....z.\|
00000010 e0 a4 0b 86 4f ac b8 40 37 f3 5c 30 f2 a5 9d 7a |....O..@7.\0...z|
00000020 fe 9d 51 3e 03 62 7a 02 46 d2 f8 20 e9 4c a0 1a |..Q>.bz.F.. .L..|
00000030 fa 02 84 51 9f dc 01 88 73 4b 61 66 11 6f e4 58 |...Q....sKaf.o.X|
00000040 31 ff 97 2d 26 38 56 db cf 2c e0 72 c0 2f 00 00 |1..-&8V..,.r./..|
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.|
@ -56,19 +56,19 @@
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 21 8b 87 3e 55 73 ed 1f d6 |.....A.!..>Us...|
000002e0 78 74 61 6c b5 02 90 2f c3 0b 0c 69 11 3a 23 4e |xtal.../...i.:#N|
000002f0 5b 82 bd d4 a8 da 66 34 7f 73 99 d3 7f 92 16 44 |[.....f4.s.....D|
00000300 1c 90 0e 2a 39 d0 e3 25 4b 00 7b 1a 04 5f 98 0f |...*9..%K.{.._..|
00000310 d4 ef c5 12 df 46 ef 04 01 00 80 ae 98 07 54 3d |.....F........T=|
00000320 c3 62 ef 34 96 02 54 cf af 5e 5f b8 5e d3 6e 2c |.b.4..T..^_.^.n,|
00000330 35 59 90 f8 f8 02 c9 04 1a 8b cf 9d 59 12 4d be |5Y..........Y.M.|
00000340 3b 38 fe 09 83 3e 59 8c 61 a5 77 46 e8 68 c2 0d |;8...>Y.a.wF.h..|
00000350 f7 22 70 35 f8 1c 35 70 d5 f8 6a 1f 4d 0a 0c 25 |."p5..5p..j.M..%|
00000360 26 7e 76 ce 4a 5d 6d 8c 36 68 89 8d 23 f3 90 09 |&~v.J]m.6h..#...|
00000370 5a e1 bc b4 6e 96 22 65 1f 0b 9a 5b c5 67 9e 48 |Z...n."e...[.g.H|
00000380 c4 d0 ab 1d 5f 9b 61 20 06 cd 6d 5b 5e 60 a8 c9 |...._.a ..m[^`..|
00000390 dd 8f c2 33 69 ac 8f ef ef 67 a2 16 03 03 00 04 |...3i....g......|
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..|
@ -76,17 +76,17 @@
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 6b e3 |.....(........k.|
00000060 b1 c3 b7 3f ab 57 eb eb 27 1f c0 77 05 13 37 9c |...?.W..'..w..7.|
00000070 2e d6 ea aa c0 de 93 22 3e e7 55 b3 45 07 |.......">.U.E.|
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 cb 18 03 ae c5 |..........(.....|
00000010 b3 96 3b df 2e de 69 b0 21 ff 73 ee 52 98 04 17 |..;...i.!.s.R...|
00000020 b6 d6 73 e8 f1 bd da b7 cc 59 75 76 9e 91 f8 8b |..s......Yuv....|
00000030 b7 8a f6 |...|
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 9b 27 1f |..............'.|
00000010 a1 ad 76 5f 08 ba eb cb 48 30 b8 f2 76 ef a7 ba |..v_....H0..v...|
00000020 9a e9 96 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................|
00000030 07 87 4d 76 93 bb f1 ed 5b e0 aa b7 9b 08 9f d0 |..Mv....[.......|
00000040 6e 8d |n.|
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 |..|