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
79
testdata/Server-TLSv10-ECDHE-ECDSA-AES
vendored
79
testdata/Server-TLSv10-ECDHE-ECDSA-AES
vendored
|
@ -1,11 +1,10 @@
|
|||
>>> Flow 1 (client to server)
|
||||
00000000 16 03 01 00 5e 01 00 00 5a 03 01 1c 20 d0 13 04 |....^...Z... ...|
|
||||
00000010 97 f2 67 6f ca 9b c0 14 b9 b3 9e 83 a9 53 09 10 |..go.........S..|
|
||||
00000020 60 45 a5 ca 3a 09 25 f1 c6 39 c2 00 00 04 c0 0a |`E..:.%..9......|
|
||||
00000030 00 ff 01 00 00 2d 00 0b 00 04 03 00 01 02 00 0a |.....-..........|
|
||||
00000040 00 1c 00 1a 00 17 00 19 00 1c 00 1b 00 18 00 1a |................|
|
||||
00000050 00 16 00 0e 00 0d 00 0b 00 0c 00 09 00 0a 00 0f |................|
|
||||
00000060 00 01 01 |...|
|
||||
00000000 16 03 01 00 4f 01 00 00 4b 03 01 2b 50 d8 3b 1f |....O...K..+P.;.|
|
||||
00000010 df 1c ad 85 72 c0 cc 9c 4b 34 83 2c e5 1f a8 da |....r...K4.,....|
|
||||
00000020 f2 74 50 de b9 7f 76 03 6a 0e 99 00 00 04 c0 0a |.tP...v.j.......|
|
||||
00000030 00 ff 01 00 00 1e 00 0b 00 04 03 00 01 02 00 0a |................|
|
||||
00000040 00 0a 00 08 00 1d 00 17 00 19 00 18 00 16 00 00 |................|
|
||||
00000050 00 17 00 00 |....|
|
||||
>>> Flow 2 (server to client)
|
||||
00000000 16 03 01 00 31 02 00 00 2d 03 01 00 00 00 00 00 |....1...-.......|
|
||||
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
||||
|
@ -43,41 +42,41 @@
|
|||
00000210 0e bd 3f a3 8c 25 c1 33 13 83 0d 94 06 bb d4 37 |..?..%.3.......7|
|
||||
00000220 7a f6 ec 7a c9 86 2e dd d7 11 69 7f 85 7c 56 de |z..z......i..|V.|
|
||||
00000230 fb 31 78 2b e4 c7 78 0d ae cb be 9e 4e 36 24 31 |.1x+..x.....N6$1|
|
||||
00000240 7b 6a 0f 39 95 12 07 8f 2a 16 03 01 00 d6 0c 00 |{j.9....*.......|
|
||||
00000250 00 d2 03 00 17 41 04 1e 18 37 ef 0d 19 51 88 35 |.....A...7...Q.5|
|
||||
00000240 7b 6a 0f 39 95 12 07 8f 2a 16 03 01 00 d5 0c 00 |{j.9....*.......|
|
||||
00000250 00 d1 03 00 17 41 04 1e 18 37 ef 0d 19 51 88 35 |.....A...7...Q.5|
|
||||
00000260 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd a7 24 20 3e |uq..T[....g..$ >|
|
||||
00000270 b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e f1 07 9f 6c |.V...(^.+-O....l|
|
||||
00000280 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 a6 b5 68 1a |K[.V.2B.X..I..h.|
|
||||
00000290 41 03 56 6b dc 5a 89 00 8b 30 81 88 02 42 00 c2 |A.Vk.Z...0...B..|
|
||||
000002a0 47 1b 12 66 fd 8f a4 95 1d db 94 47 a5 52 97 2d |G..f.......G.R.-|
|
||||
000002b0 1e b6 98 f9 d7 95 c0 84 07 95 40 8a ca 0c 76 07 |..........@...v.|
|
||||
000002c0 ec a7 9c 2e bf 5e cf 59 d0 dd 38 0f 70 9b 38 25 |.....^.Y..8.p.8%|
|
||||
000002d0 7a 2f 24 92 c7 aa fe ec 5c 1c b6 61 30 8b 86 e6 |z/$.....\..a0...|
|
||||
000002e0 02 42 00 c5 8b f0 3a ad a3 0d 95 21 69 b2 e4 e8 |.B....:....!i...|
|
||||
000002f0 d6 ac f7 b8 f3 a8 02 85 d6 32 6e db 00 85 ae 84 |.........2n.....|
|
||||
00000300 59 34 2a 9e 6e d3 c4 fc 4c c6 9f 0f d0 a0 3b 87 |Y4*.n...L.....;.|
|
||||
00000310 ad d7 aa 51 54 4e ad 76 dc 33 66 7a 5c 87 d0 da |...QTN.v.3fz\...|
|
||||
00000320 52 08 04 73 16 03 01 00 04 0e 00 00 00 |R..s.........|
|
||||
00000290 41 03 56 6b dc 5a 89 00 8a 30 81 87 02 42 01 87 |A.Vk.Z...0...B..|
|
||||
000002a0 16 fb 72 db d2 a4 23 7f d9 7d 42 2c e5 f1 4c 7e |..r...#..}B,..L~|
|
||||
000002b0 76 30 90 3b cb a3 60 43 8a 9b 22 b3 fe e2 97 a0 |v0.;..`C..".....|
|
||||
000002c0 6f 6e 74 cb c1 c9 f3 59 63 18 e3 cb 7a a6 82 86 |ont....Yc...z...|
|
||||
000002d0 f0 f8 40 e0 38 3c 6e 8d aa 18 79 89 fc 5f 93 8d |..@.8<n...y.._..|
|
||||
000002e0 02 41 6d 23 f9 c2 4c 6d da a8 be 8a e9 b5 d5 cc |.Am#..Lm........|
|
||||
000002f0 28 f0 48 0c 7d a8 80 60 02 9f fc f9 38 a1 e3 5b |(.H.}..`....8..[|
|
||||
00000300 b5 f4 11 d5 f3 94 52 f2 c2 73 5f b7 05 2b 96 7c |......R..s_..+.||
|
||||
00000310 27 4d 94 94 f2 00 0a 50 53 e6 72 1f 2d fb 91 1b |'M.....PS.r.-...|
|
||||
00000320 d1 67 cf 16 03 01 00 04 0e 00 00 00 |.g..........|
|
||||
>>> Flow 3 (client to server)
|
||||
00000000 16 03 01 00 46 10 00 00 42 41 04 4d 54 b0 3d 83 |....F...BA.MT.=.|
|
||||
00000010 28 38 7a 5b 69 46 a3 40 50 4a 25 13 e6 9a fd 4c |(8z[iF.@PJ%....L|
|
||||
00000020 fe 93 66 89 f3 11 b0 98 08 7d 0d 87 84 ca 98 4a |..f......}.....J|
|
||||
00000030 4d 3a 8a 50 13 27 ec 89 bd 03 f6 6c 02 2a 8c c6 |M:.P.'.....l.*..|
|
||||
00000040 dd d6 c4 43 fc fa 59 59 4e 96 9a 14 03 01 00 01 |...C..YYN.......|
|
||||
00000050 01 16 03 01 00 30 22 1f 07 a7 54 f9 c7 1c 98 c1 |.....0"...T.....|
|
||||
00000060 2b 89 61 7a 3c 7e 59 1a 2a 73 bd 9d ee 88 76 16 |+.az<~Y.*s....v.|
|
||||
00000070 07 22 08 7a c9 1a 4b ae 30 0e d8 c5 ed 33 dd 6d |.".z..K.0....3.m|
|
||||
00000080 49 01 af 07 d1 0f |I.....|
|
||||
00000000 16 03 01 00 46 10 00 00 42 41 04 cb cc 3f 30 f8 |....F...BA...?0.|
|
||||
00000010 bb c5 88 d5 12 fa 24 96 57 74 76 86 f2 2f e4 16 |......$.Wtv../..|
|
||||
00000020 dd 03 db 0a ca 22 53 85 97 cd d8 cc 30 a6 c9 29 |....."S.....0..)|
|
||||
00000030 2a 1b 22 cd d1 e8 30 43 c8 2f ca 1b 49 d0 4a 63 |*."...0C./..I.Jc|
|
||||
00000040 dd 28 68 42 64 c4 53 46 40 42 dd 14 03 01 00 01 |.(hBd.SF@B......|
|
||||
00000050 01 16 03 01 00 30 17 1c 8d fa fc 33 93 2d 7e 94 |.....0.....3.-~.|
|
||||
00000060 fc 97 65 5f 9d cf 37 f4 1a e6 80 28 e6 f7 f5 97 |..e_..7....(....|
|
||||
00000070 57 8e b2 0b 88 45 2f d6 2f e5 11 e5 45 85 06 a0 |W....E/./...E...|
|
||||
00000080 52 eb 5c cb 14 db |R.\...|
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 14 03 01 00 01 01 16 03 01 00 30 3b f6 c9 51 87 |..........0;..Q.|
|
||||
00000010 ee 8a e4 d4 99 6c d1 3e 88 2b ee 82 b3 4a 39 55 |.....l.>.+...J9U|
|
||||
00000020 13 e8 6b 64 44 cf 1d c8 33 66 b0 e5 17 aa 37 fa |..kdD...3f....7.|
|
||||
00000030 7a e1 b8 55 aa f4 25 c1 19 d7 fb 17 03 01 00 20 |z..U..%........ |
|
||||
00000040 c2 37 83 cf 44 01 b6 00 be 47 90 7d c3 64 1f 52 |.7..D....G.}.d.R|
|
||||
00000050 bb 78 47 8f 7a 6c 36 2e 28 15 4b 0a 65 c2 c1 1f |.xG.zl6.(.K.e...|
|
||||
00000060 17 03 01 00 30 5a fd 09 05 37 3d 3f 66 c9 2d bc |....0Z...7=?f.-.|
|
||||
00000070 b3 0c 32 57 20 4b a7 73 76 09 0f b7 29 6e 43 fc |..2W K.sv...)nC.|
|
||||
00000080 79 db ae aa db ff e5 81 5f 9a fa 21 6f 74 46 2e |y......._..!otF.|
|
||||
00000090 b9 28 c8 d6 80 15 03 01 00 20 7d c9 2e 64 72 41 |.(....... }..drA|
|
||||
000000a0 a0 d8 dc 32 02 06 e5 6f 64 b0 0c 82 78 b5 3f 5f |...2...od...x.?_|
|
||||
000000b0 e7 99 05 3c 52 1d 5a b3 f1 b0 |...<R.Z...|
|
||||
00000000 14 03 01 00 01 01 16 03 01 00 30 d8 bc 10 62 c8 |..........0...b.|
|
||||
00000010 73 d4 eb 2f c1 41 e8 e4 71 08 ea 60 f2 59 0f f9 |s../.A..q..`.Y..|
|
||||
00000020 51 fe f3 32 86 d7 bc 66 02 c1 0d 61 f2 7b 90 81 |Q..2...f...a.{..|
|
||||
00000030 49 5d 66 cc 8a 38 30 85 4c 98 1c 17 03 01 00 20 |I]f..80.L...... |
|
||||
00000040 88 37 8d 00 97 b0 a5 93 ff fb 47 9a db 4c ad 58 |.7........G..L.X|
|
||||
00000050 3d 49 d1 4e 3e 24 74 47 df 78 1a f2 c4 ef 3f 8c |=I.N>$tG.x....?.|
|
||||
00000060 17 03 01 00 30 15 49 5a f7 5c 09 76 69 b6 20 0d |....0.IZ.\.vi. .|
|
||||
00000070 02 f9 c4 95 d4 08 fe c0 1d 49 0f 61 a7 ca 5e d5 |.........I.a..^.|
|
||||
00000080 93 c4 8f d1 4d 53 04 76 c7 90 a2 b6 ee d2 fe 13 |....MS.v........|
|
||||
00000090 bc bb b3 83 2b 15 03 01 00 20 e4 f3 84 e5 09 c8 |....+.... ......|
|
||||
000000a0 dc 40 26 7c 42 59 08 4d 8e 1a 70 41 03 9e a6 a2 |.@&|BY.M..pA....|
|
||||
000000b0 ac cd 62 1e b9 e2 fb c2 33 0a |..b.....3.|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue