mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-04 04:27: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
64
testdata/Client-TLSv12-ECDHE-ECDSA-AES-GCM
vendored
64
testdata/Client-TLSv12-ECDHE-ECDSA-AES-GCM
vendored
|
@ -9,11 +9,11 @@
|
|||
00000070 0b 00 02 01 00 00 0d 00 0e 00 0c 04 01 04 03 05 |................|
|
||||
00000080 01 05 03 02 01 02 03 ff 01 00 01 00 00 12 00 00 |................|
|
||||
>>> Flow 2 (server to client)
|
||||
00000000 16 03 03 00 59 02 00 00 55 03 03 59 35 ef 8a 48 |....Y...U..Y5..H|
|
||||
00000010 01 4f 2a f1 c8 1d fc 9b fa 1e 00 05 ef 89 1c 72 |.O*............r|
|
||||
00000020 26 b0 1b 99 41 66 7c cf cc 25 d3 20 3d ec a7 3e |&...Af|..%. =..>|
|
||||
00000030 40 a3 3d b4 a4 87 ef ff 6e 3a b4 c9 7e 35 38 2c |@.=.....n:..~58,|
|
||||
00000040 e2 b8 4d e3 f7 68 98 7a f9 bd 02 69 c0 2b 00 00 |..M..h.z...i.+..|
|
||||
00000000 16 03 03 00 59 02 00 00 55 03 03 25 5f ff 82 ec |....Y...U..%_...|
|
||||
00000010 e6 e0 34 9a e8 88 b2 e1 ee 44 6c 11 62 b2 14 ba |..4......Dl.b...|
|
||||
00000020 8e 71 cb 48 70 4b 47 7f 86 3e f1 20 ad b0 3f 8e |.q.HpKG..>. ..?.|
|
||||
00000030 4e bc 26 fb 01 18 12 8e b2 30 b8 25 ae 0e 2d 88 |N.&......0.%..-.|
|
||||
00000040 c4 8a 60 1c 45 aa 3c 42 63 cb 4d ca c0 2b 00 00 |..`.E.<Bc.M..+..|
|
||||
00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................|
|
||||
00000060 03 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..|
|
||||
00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....|
|
||||
|
@ -48,38 +48,38 @@
|
|||
00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....|
|
||||
00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.|
|
||||
00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....|
|
||||
00000270 2a 16 03 03 00 d7 0c 00 00 d3 03 00 17 41 04 20 |*............A. |
|
||||
00000280 47 59 b8 c8 24 46 f5 8f e7 d3 97 cd 8a 38 e9 6c |GY..$F.......8.l|
|
||||
00000290 b1 4e e9 61 af 8f ca bd 21 de e5 06 44 9d 92 6f |.N.a....!...D..o|
|
||||
000002a0 62 54 c2 c4 68 53 44 66 3f af 68 62 3a 10 a8 69 |bT..hSDf?.hb:..i|
|
||||
000002b0 f2 17 c7 17 ad c9 28 a5 01 eb cc 75 51 57 93 04 |......(....uQW..|
|
||||
000002c0 03 00 8a 30 81 87 02 42 00 8f c8 a1 0d 7e 53 2a |...0...B.....~S*|
|
||||
000002d0 15 1f 5e 3f 5d 45 9a 1a ef b7 8f f8 b4 6c 77 07 |..^?]E.......lw.|
|
||||
000002e0 78 23 d3 06 e8 8b 8b 40 a9 c7 3d 5a 57 68 87 0a |x#.....@..=ZWh..|
|
||||
000002f0 69 86 19 3f b1 ce 51 9b b1 a9 be 30 52 77 0c 19 |i..?..Q....0Rw..|
|
||||
00000300 31 5f 62 01 f8 59 35 07 46 f3 02 41 75 d7 2c 76 |1_b..Y5.F..Au.,v|
|
||||
00000310 e4 d4 fa cb 1b eb ef 53 0f d0 60 19 a5 6e c0 f8 |.......S..`..n..|
|
||||
00000320 67 82 e9 03 c6 bf 7e 0e 0c b0 74 22 32 3b 68 45 |g.....~...t"2;hE|
|
||||
00000330 9e 91 a8 18 db b8 23 33 f3 44 3d 66 56 0f 73 91 |......#3.D=fV.s.|
|
||||
00000340 81 9d 73 b8 b7 02 23 ab 4c 28 39 00 e2 16 03 03 |..s...#.L(9.....|
|
||||
00000350 00 04 0e 00 00 00 |......|
|
||||
00000270 2a 16 03 03 00 d8 0c 00 00 d4 03 00 17 41 04 06 |*............A..|
|
||||
00000280 53 ba c4 c9 36 1d a0 ea 75 2c 14 b7 f9 fc dd e6 |S...6...u,......|
|
||||
00000290 4b 16 11 13 15 6f 3f 30 6c dc 65 07 28 5c 78 b4 |K....o?0l.e.(\x.|
|
||||
000002a0 14 f8 20 1e 37 6b ab 5f c7 f8 e3 9b ba 74 7d 87 |.. .7k._.....t}.|
|
||||
000002b0 ec 5c d9 5a 84 39 46 85 6f 18 35 5e 60 5a 2e 04 |.\.Z.9F.o.5^`Z..|
|
||||
000002c0 03 00 8b 30 81 88 02 42 01 8d 25 04 bd 14 00 19 |...0...B..%.....|
|
||||
000002d0 dd c5 ff 7e 31 4f 46 55 f8 50 ae f9 81 43 07 ac |...~1OFU.P...C..|
|
||||
000002e0 cb 11 3f d4 32 f9 b8 38 1f 19 57 69 ec af cc 45 |..?.2..8..Wi...E|
|
||||
000002f0 f7 35 a9 be 4f 53 f4 35 eb fb 42 bb ab 45 0d 06 |.5..OS.5..B..E..|
|
||||
00000300 01 6e b6 12 2b 3c 91 e3 40 20 02 42 01 9e 00 e3 |.n..+<..@ .B....|
|
||||
00000310 ea 37 9d a7 fa f0 58 f4 29 ce d0 24 15 e1 10 e4 |.7....X.)..$....|
|
||||
00000320 74 f5 33 a2 15 26 0d 45 65 09 36 c4 43 9e 42 b4 |t.3..&.Ee.6.C.B.|
|
||||
00000330 0f 29 32 22 52 ff 75 28 a3 cb 73 ca 06 ef 71 8c |.)2"R.u(..s...q.|
|
||||
00000340 02 98 5e 5f 7b 02 7b 6f a7 bd 66 a5 6f f8 16 03 |..^_{.{o..f.o...|
|
||||
00000350 03 00 04 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 26 b4 |.....(........&.|
|
||||
00000060 7f ed 06 9c 4a 40 7f 35 56 d6 f3 b4 a8 cc 26 a8 |....J@.5V.....&.|
|
||||
00000070 bd 27 b4 6e c9 8d 5e 8a 64 a9 03 f4 b0 19 |.'.n..^.d.....|
|
||||
00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 67 56 |.....(........gV|
|
||||
00000060 17 d8 0c 91 de 6c 80 59 0c cc f2 92 8a d4 c5 ef |.....l.Y........|
|
||||
00000070 4b e3 c0 43 ae db 66 71 a0 a8 a6 86 ca 97 |K..C..fq......|
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 28 4f 51 fc b5 13 |..........(OQ...|
|
||||
00000010 3e 76 c2 a1 63 43 ef d4 69 f1 6d a3 f3 76 96 8f |>v..cC..i.m..v..|
|
||||
00000020 7c 41 a6 8c 33 67 f2 2b 4d 3a b6 08 d8 0e af 1d ||A..3g.+M:......|
|
||||
00000030 30 d4 66 |0.f|
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 28 74 15 df d3 2d |..........(t...-|
|
||||
00000010 c0 33 af 01 f9 50 22 97 19 b3 9a f5 68 69 35 a9 |.3...P".....hi5.|
|
||||
00000020 ac 4c 1b f6 6d b3 4e b4 5f ce 56 0b 46 4d 0f 40 |.L..m.N._.V.FM.@|
|
||||
00000030 d7 01 69 |..i|
|
||||
>>> Flow 5 (client to server)
|
||||
00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 fe 94 6f |...............o|
|
||||
00000010 0f be 72 0e 69 15 59 ef 1e 46 ec a1 ac e5 fd 6c |..r.i.Y..F.....l|
|
||||
00000020 2f 63 33 15 03 03 00 1a 00 00 00 00 00 00 00 02 |/c3.............|
|
||||
00000030 3a 61 9f 5f f9 9c 85 38 0b ce 57 5e 67 e4 78 3a |:a._...8..W^g.x:|
|
||||
00000040 bc c5 |..|
|
||||
00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 d2 0d e5 |................|
|
||||
00000010 9a c2 77 8a 81 0b d1 62 58 fa 7a 34 14 b1 14 1f |..w....bX.z4....|
|
||||
00000020 ef e8 6d 15 03 03 00 1a 00 00 00 00 00 00 00 02 |..m.............|
|
||||
00000030 0f e6 f9 67 74 d7 95 5a 2c 17 f4 24 62 4f a8 a7 |...gt..Z,..$bO..|
|
||||
00000040 b5 fd |..|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue