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
70
testdata/Client-TLSv10-ECDHE-ECDSA-AES
vendored
70
testdata/Client-TLSv10-ECDHE-ECDSA-AES
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 01 00 59 02 00 00 55 03 01 00 f4 3b 47 61 |....Y...U....;Ga|
|
||||
00000010 8b 4b 96 48 68 12 19 a6 00 d5 24 fa c3 26 24 27 |.K.Hh.....$..&$'|
|
||||
00000020 a8 13 09 81 d8 6b 80 92 f9 b6 b7 20 01 0a 26 a3 |.....k..... ..&.|
|
||||
00000030 d7 37 55 4a 96 23 90 9b e1 23 95 d7 6e 01 cd 35 |.7UJ.#...#..n..5|
|
||||
00000040 41 d3 9f 0c ed 88 2c 6d 97 8f 35 0c c0 09 00 00 |A.....,m..5.....|
|
||||
00000000 16 03 01 00 59 02 00 00 55 03 01 ad 73 ab 19 40 |....Y...U...s..@|
|
||||
00000010 f9 55 c6 66 42 22 d2 dd 1b ab da 28 bb 0d cc f6 |.U.fB".....(....|
|
||||
00000020 88 75 f0 52 d1 90 39 42 16 25 7a 20 21 96 87 ab |.u.R..9B.%z !...|
|
||||
00000030 12 5c 25 5e d3 84 fb 53 b5 b3 d9 3d bb 42 72 c8 |.\%^...S...=.Br.|
|
||||
00000040 55 3e 4e 43 cb 36 38 47 cd dc fa ad c0 09 00 00 |U>NC.68G........|
|
||||
00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................|
|
||||
00000060 01 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,41 +48,41 @@
|
|||
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 01 00 d5 0c 00 00 d1 03 00 17 41 04 47 |*............A.G|
|
||||
00000280 34 3e c3 7a 68 b2 bf 4c 11 e0 3a 28 c0 6f bb b8 |4>.zh..L..:(.o..|
|
||||
00000290 4d f1 27 6a 90 6a 81 22 93 26 8d 5c ec ad 7d e2 |M.'j.j.".&.\..}.|
|
||||
000002a0 71 41 c1 f8 48 5c c7 b0 95 80 b5 76 6d a8 4f 84 |qA..H\.....vm.O.|
|
||||
000002b0 29 94 0c c8 e2 d5 e4 c3 d3 a3 d7 fa 45 d4 8f 00 |)...........E...|
|
||||
000002c0 8a 30 81 87 02 41 2c 01 66 48 61 d8 8c e5 d9 74 |.0...A,.fHa....t|
|
||||
000002d0 5e 82 ad 79 67 af 19 aa f4 a5 89 41 f8 78 a6 77 |^..yg......A.x.w|
|
||||
000002e0 9e 74 74 d3 eb b8 93 aa 6c 28 c9 44 58 2b c0 16 |.tt.....l(.DX+..|
|
||||
000002f0 9a b3 26 2d 13 5f 98 94 36 d5 ff 0e a9 2c d8 33 |..&-._..6....,.3|
|
||||
00000300 d6 0c dc 48 fe be de 02 42 00 97 e0 40 3d 53 6e |...H....B...@=Sn|
|
||||
00000310 2b 96 f6 63 c7 a0 cb 28 64 45 c4 b7 85 34 8f a7 |+..c...(dE...4..|
|
||||
00000320 e4 fd 97 76 18 e2 88 4c 31 39 3f 31 6b 7f 69 1f |...v...L19?1k.i.|
|
||||
00000330 7a 72 2f 8e 6c d2 1f fa 59 01 0c 41 ef 21 51 44 |zr/.l...Y..A.!QD|
|
||||
00000340 c3 e9 de d7 9c 2b 35 9c 34 52 c5 16 03 01 00 04 |.....+5.4R......|
|
||||
00000350 0e 00 00 00 |....|
|
||||
00000270 2a 16 03 01 00 d4 0c 00 00 d0 03 00 17 41 04 0d |*............A..|
|
||||
00000280 e8 5a 74 30 43 bb 24 3b 77 5e 60 c8 05 57 ca 5e |.Zt0C.$;w^`..W.^|
|
||||
00000290 79 e1 35 a1 48 3a b2 af c5 9d c8 fa 38 f7 4b ec |y.5.H:......8.K.|
|
||||
000002a0 09 fb 29 e0 ac f1 43 70 ca ec b7 8c f5 22 42 a6 |..)...Cp....."B.|
|
||||
000002b0 56 7b 4a db 84 dc 2b 31 f8 46 35 3f 9c 72 fb 00 |V{J...+1.F5?.r..|
|
||||
000002c0 89 30 81 86 02 41 27 a5 3b 2c f0 d9 a6 74 6f b6 |.0...A'.;,...to.|
|
||||
000002d0 2c 3a 9f 9b bf 1c 50 9c 07 7f 50 b1 82 41 17 4e |,:....P...P..A.N|
|
||||
000002e0 c2 77 13 84 27 5c 28 a9 14 c7 e2 d1 4b 84 eb 22 |.w..'\(.....K.."|
|
||||
000002f0 b0 d1 f9 6b 6e 08 52 11 aa 21 34 82 43 d1 ed 73 |...kn.R..!4.C..s|
|
||||
00000300 3a 04 e3 a1 3f e5 4e 02 41 6e 4c a9 ab d6 e0 b1 |:...?.N.AnL.....|
|
||||
00000310 45 88 00 44 47 af 64 d0 51 20 ca b4 52 79 3e de |E..DG.d.Q ..Ry>.|
|
||||
00000320 e7 ba 9a 06 03 b6 c5 7f 7f e1 8f 54 eb 4b 0b 6e |...........T.K.n|
|
||||
00000330 e3 b7 a2 86 b6 b6 49 d1 2e 0d 50 33 75 c5 49 8b |......I...P3u.I.|
|
||||
00000340 0a 7d fa 6d 57 e8 35 50 0a c3 16 03 01 00 04 0e |.}.mW.5P........|
|
||||
00000350 00 00 00 |...|
|
||||
>>> Flow 3 (client to server)
|
||||
00000000 16 03 01 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 01 00 01 |..h.A.Vk.Z......|
|
||||
00000050 01 16 03 01 00 30 43 0d 57 48 41 ac 59 86 b3 53 |.....0C.WHA.Y..S|
|
||||
00000060 58 d4 f7 b0 32 fa 0a 3f 5f 3e 22 ba 2f 04 86 06 |X...2..?_>"./...|
|
||||
00000070 ce 22 33 3f a2 89 ed 76 80 52 d1 6b fe bb 62 40 |."3?...v.R.k..b@|
|
||||
00000080 a9 68 d5 b3 ea fc |.h....|
|
||||
00000050 01 16 03 01 00 30 57 49 e2 22 09 08 84 39 73 46 |.....0WI."...9sF|
|
||||
00000060 f3 cf 03 7a d4 fd ca 18 05 6b eb da c7 b0 9d 05 |...z.....k......|
|
||||
00000070 c8 aa 61 f5 fd 1d c3 a4 5d 15 51 dd 03 67 aa 9d |..a.....].Q..g..|
|
||||
00000080 85 9d 78 bc 82 00 |..x...|
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 14 03 01 00 01 01 16 03 01 00 30 34 9b d5 0a 0d |..........04....|
|
||||
00000010 1f 02 01 f7 92 e8 3e 83 03 23 28 b3 ab cc e9 f2 |......>..#(.....|
|
||||
00000020 98 08 1f 36 61 0f af 8d d3 d3 fc 72 58 94 77 01 |...6a......rX.w.|
|
||||
00000030 82 d9 8c 70 b3 d3 d3 19 4d cf 08 |...p....M..|
|
||||
00000000 14 03 01 00 01 01 16 03 01 00 30 d0 dc fe f9 3a |..........0....:|
|
||||
00000010 df b1 1d ea b6 49 27 b3 7f 96 5d a9 ec e4 b4 01 |.....I'...].....|
|
||||
00000020 6f 46 db 4d ed 43 a7 fb 6a 8b b4 4c 51 8a 1a 7f |oF.M.C..j..LQ...|
|
||||
00000030 f2 92 54 3b 20 1c 58 de 27 93 a3 |..T; .X.'..|
|
||||
>>> Flow 5 (client to server)
|
||||
00000000 17 03 01 00 20 b8 a9 f8 57 92 06 f0 7d 03 e0 ba |.... ...W...}...|
|
||||
00000010 c6 52 e0 9e 52 eb cf 7e a2 98 5b 74 f2 ff dc 85 |.R..R..~..[t....|
|
||||
00000020 93 25 02 56 e1 17 03 01 00 20 a2 8c c8 c1 c5 eb |.%.V..... ......|
|
||||
00000030 ce 3b d3 86 0d c0 bc bc 13 41 d5 5c d1 24 b9 be |.;.......A.\.$..|
|
||||
00000040 f9 4c dd 03 25 88 30 64 01 1c 15 03 01 00 20 3e |.L..%.0d...... >|
|
||||
00000050 45 2f 53 60 74 3f 48 66 0d 02 59 1c 1c fc f1 f7 |E/S`t?Hf..Y.....|
|
||||
00000060 34 dd 86 0a 33 be 42 e9 d0 bd f5 d9 84 bf 30 |4...3.B.......0|
|
||||
00000000 17 03 01 00 20 03 4c a7 c8 19 e2 e1 e7 ba 7d 96 |.... .L.......}.|
|
||||
00000010 77 83 e8 db ee 41 3d 6e 66 c8 1d 54 85 d8 14 92 |w....A=nf..T....|
|
||||
00000020 33 b8 e8 f5 de 17 03 01 00 20 3c c4 6e d3 1f 0a |3........ <.n...|
|
||||
00000030 43 b0 0f 7b c7 f8 48 e9 90 5d 50 6b 74 79 b3 47 |C..{..H..]Pkty.G|
|
||||
00000040 71 12 7e 31 e1 d6 ab 6e 58 48 15 03 01 00 20 fc |q.~1...nXH.... .|
|
||||
00000050 bb 86 b3 d0 44 b1 ef 80 87 e4 d9 76 b7 68 f4 a9 |....D......v.h..|
|
||||
00000060 3b 86 56 c3 2c 54 0e cb 69 ec 60 c1 c4 a1 e9 |;.V.,T..i.`....|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue