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
91
testdata/Client-TLSv12-ClientCert-RSA-ECDSA
vendored
91
testdata/Client-TLSv12-ClientCert-RSA-ECDSA
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 1f be bf a9 e9 |....Y...U.......|
|
||||
00000010 1f 9e 3c 62 61 f4 0b b4 7e 08 85 e7 20 0a 1f c2 |..<ba...~... ...|
|
||||
00000020 50 e0 7d 3e 87 83 2e f6 b5 3b 01 20 a3 ae 72 07 |P.}>.....;. ..r.|
|
||||
00000030 49 15 58 81 fe d4 5c b9 df 88 68 d0 54 3c ae bd |I.X...\...h.T<..|
|
||||
00000040 19 5b ae 30 d2 53 56 67 ef 05 71 69 c0 09 00 00 |.[.0.SVg..qi....|
|
||||
00000000 16 03 03 00 59 02 00 00 55 03 03 e7 ed 8d 74 39 |....Y...U.....t9|
|
||||
00000010 b5 4e 79 35 85 b5 46 22 fc 7f 2d 2a 28 f3 98 db |.Ny5..F"..-*(...|
|
||||
00000020 69 76 44 b2 0b ac df 25 1c 59 da 20 0c dd a5 75 |ivD....%.Y. ...u|
|
||||
00000030 50 94 02 87 20 42 1e c8 42 55 32 d7 e3 6b 00 e9 |P... B..BU2..k..|
|
||||
00000040 b4 57 ff ad 5b 9d e5 4e f8 8b 37 d4 c0 09 00 00 |.W..[..N..7.....|
|
||||
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,23 +48,24 @@
|
|||
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 85 |*............A..|
|
||||
00000280 5d 2e 2a 16 9e b3 a4 69 17 f5 13 ce 32 8f 67 37 |].*....i....2.g7|
|
||||
00000290 74 ab cf e2 69 80 fb 71 15 08 df f4 18 f3 76 36 |t...i..q......v6|
|
||||
000002a0 1a 06 aa 6e 3d de c0 71 05 65 6f 4b 05 86 93 fe |...n=..q.eoK....|
|
||||
000002b0 34 82 59 77 2f 5b c6 4c 63 8b 6f 7f 60 d6 ba 04 |4.Yw/[.Lc.o.`...|
|
||||
000002c0 03 00 8a 30 81 87 02 42 01 37 25 e6 ad 0a 35 db |...0...B.7%...5.|
|
||||
000002d0 e6 76 90 15 ed 10 66 7f 19 9d e5 59 31 89 d7 be |.v....f....Y1...|
|
||||
000002e0 b2 e2 18 f2 42 30 98 86 2f ef 23 a4 70 79 51 97 |....B0../.#.pyQ.|
|
||||
000002f0 98 ac 6e 31 4e e8 e4 b3 d8 22 cc 32 46 1d e1 d2 |..n1N....".2F...|
|
||||
00000300 77 cb dd b5 c6 03 b6 52 ac 66 02 41 37 c2 d8 75 |w......R.f.A7..u|
|
||||
00000310 75 18 22 97 03 67 86 04 18 e4 29 96 ba 29 92 85 |u."..g....)..)..|
|
||||
00000320 a0 55 72 12 f4 bb 70 b5 3a 62 2d 0c f6 cf 92 15 |.Ur...p.:b-.....|
|
||||
00000330 4f 31 11 75 f9 81 b6 a3 ff dc 9c e3 be 26 8c 2f |O1.u.........&./|
|
||||
00000340 fc 5d ef e2 b9 e5 0e 93 eb 95 f6 5f 22 16 03 03 |.]........._"...|
|
||||
00000350 00 2e 0d 00 00 26 03 01 02 40 00 1e 06 01 06 02 |.....&...@......|
|
||||
00000270 2a 16 03 03 00 d7 0c 00 00 d3 03 00 17 41 04 31 |*............A.1|
|
||||
00000280 a3 27 68 39 f0 49 74 4b bf a9 65 19 0b 33 41 96 |.'h9.ItK..e..3A.|
|
||||
00000290 b3 41 d9 61 d5 b1 8a b6 2d d3 46 32 63 a6 13 19 |.A.a....-.F2c...|
|
||||
000002a0 25 04 78 85 62 73 2a 94 32 9d 75 bd f2 f8 44 d7 |%.x.bs*.2.u...D.|
|
||||
000002b0 f1 f2 dd ce ca 97 b6 6e 10 79 a6 cd 4a f0 73 04 |.......n.y..J.s.|
|
||||
000002c0 03 00 8a 30 81 87 02 42 00 e4 2b 1c c4 56 74 bd |...0...B..+..Vt.|
|
||||
000002d0 fb 41 8a c7 f0 6a 17 c1 8a 1c 0e 48 6f 65 1f d9 |.A...j.....Hoe..|
|
||||
000002e0 cd a6 9c ed f2 25 45 d3 eb 75 74 c0 0f 38 3d e7 |.....%E..ut..8=.|
|
||||
000002f0 63 fe 46 95 27 78 c8 d1 b0 82 5e 9f ac 3e f1 9b |c.F.'x....^..>..|
|
||||
00000300 37 b6 5c dc e1 3b 63 6c 54 b7 02 41 5c e8 d5 4c |7.\..;clT..A\..L|
|
||||
00000310 bc 65 e5 57 c1 f8 f4 d0 2f 8d 63 76 3c 87 e6 a5 |.e.W..../.cv<...|
|
||||
00000320 3e 10 ca 4a 9f 87 19 e0 48 9f 0c a2 e7 b1 16 b6 |>..J....H.......|
|
||||
00000330 a9 f8 4c c1 fc a8 29 75 11 d2 de 7a d9 70 8e 3a |..L...)u...z.p.:|
|
||||
00000340 6e 29 5c f6 9c 86 1e 73 d0 2e 4b 1f f2 16 03 03 |n)\....s..K.....|
|
||||
00000350 00 2a 0d 00 00 26 03 01 02 40 00 1e 06 01 06 02 |.*...&...@......|
|
||||
00000360 06 03 05 01 05 02 05 03 04 01 04 02 04 03 03 01 |................|
|
||||
00000370 03 02 03 03 02 01 02 02 02 03 00 00 0e 00 00 00 |................|
|
||||
00000370 03 02 03 03 02 01 02 02 02 03 00 00 16 03 03 00 |................|
|
||||
00000380 04 0e 00 00 00 |.....|
|
||||
>>> Flow 3 (client to server)
|
||||
00000000 16 03 03 01 fd 0b 00 01 f9 00 01 f6 00 01 f3 30 |...............0|
|
||||
00000010 82 01 ef 30 82 01 58 a0 03 02 01 02 02 10 5c 19 |...0..X.......\.|
|
||||
|
@ -103,31 +104,31 @@
|
|||
00000220 67 fd a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d |g..$ >.V...(^.+-|
|
||||
00000230 4f 9e f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 |O....lK[.V.2B.X.|
|
||||
00000240 d7 49 a6 b5 68 1a 41 03 56 6b dc 5a 89 16 03 03 |.I..h.A.Vk.Z....|
|
||||
00000250 00 88 0f 00 00 84 05 01 00 80 5e 85 82 65 fe 5d |..........^..e.]|
|
||||
00000260 e7 61 47 f0 64 2e 7a 35 0d 7b 8b bd ce 39 56 ee |.aG.d.z5.{...9V.|
|
||||
00000270 f0 1d 1c 0c 40 6c ed 06 69 b1 29 71 20 36 ca 79 |....@l..i.)q 6.y|
|
||||
00000280 ca b2 74 92 f3 fc c6 b7 f9 5f d0 22 dc 17 d1 25 |..t......_."...%|
|
||||
00000290 4a c2 9f 9d 62 92 1b e3 34 8c 1e f8 85 8a 3b 58 |J...b...4.....;X|
|
||||
000002a0 f0 0a a0 31 05 a0 a7 a1 44 a6 8b 9b d9 72 38 16 |...1....D....r8.|
|
||||
000002b0 33 c1 66 f2 6a 0c 9c 65 8b 1a 09 91 9b 72 ad 4d |3.f.j..e.....r.M|
|
||||
000002c0 98 37 a7 54 54 f2 0c 7b 95 92 5d 11 94 59 6c 29 |.7.TT..{..]..Yl)|
|
||||
000002d0 e7 4e 5e 46 69 35 43 b8 16 02 14 03 03 00 01 01 |.N^Fi5C.........|
|
||||
00000250 00 88 0f 00 00 84 05 01 00 80 4d 6a 6e 18 c9 95 |..........Mjn...|
|
||||
00000260 1a d0 42 4a 56 3f 82 40 d9 66 63 cb 78 9a d0 dd |..BJV?.@.fc.x...|
|
||||
00000270 55 71 b5 be 40 bc 83 d5 73 0c 91 aa ad 3b c4 0f |Uq..@...s....;..|
|
||||
00000280 d8 db ba 8c 06 8c 71 e0 a5 32 67 be 32 c6 b1 91 |......q..2g.2...|
|
||||
00000290 3d e8 d8 fe 42 64 c4 83 83 52 fd 95 d4 87 e6 a0 |=...Bd...R......|
|
||||
000002a0 e8 a3 1f 5b 4a 79 95 65 bf 53 92 87 d5 26 6b 09 |...[Jy.e.S...&k.|
|
||||
000002b0 7c 2f 74 e7 af dc 01 3b ad 8e 52 84 ac a0 47 c7 ||/t....;..R...G.|
|
||||
000002c0 ad 37 7c 62 5a ae 8e de f9 14 86 fc 5c 4c b3 7e |.7|bZ.......\L.~|
|
||||
000002d0 35 d8 f4 e4 ab 33 b6 ca 6a 0f 14 03 03 00 01 01 |5....3..j.......|
|
||||
000002e0 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........|
|
||||
000002f0 00 00 00 00 00 a9 87 01 27 8d 4b 5b b9 13 17 50 |........'.K[...P|
|
||||
00000300 62 f3 16 e3 84 3e 38 3e dc fe 7d 1d de a7 29 73 |b....>8>..}...)s|
|
||||
00000310 3e dc e8 03 65 c9 08 96 50 05 df 15 5f 1f bb f0 |>...e...P..._...|
|
||||
00000320 77 cf a2 9e e8 |w....|
|
||||
000002f0 00 00 00 00 00 10 2d 03 5b 66 40 d5 41 e2 05 e4 |......-.[f@.A...|
|
||||
00000300 ad a7 8c 69 21 90 9e 48 07 ad df 55 9e 85 6e 33 |...i!..H...U..n3|
|
||||
00000310 d6 e5 2e 95 12 6c 68 ce c8 27 1e ca fc 91 64 ef |.....lh..'....d.|
|
||||
00000320 67 40 87 8c 2f |g@../|
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 40 04 00 1e 59 5c |..........@...Y\|
|
||||
00000010 df 15 6d 6a 44 99 3d b5 28 f2 86 7c 93 a3 20 ec |..mjD.=.(..|.. .|
|
||||
00000020 fc 1c 7c 16 9c 33 fb a5 20 f7 2f 76 81 6d 75 e6 |..|..3.. ./v.mu.|
|
||||
00000030 4b 60 5b 9c 8b 6e a7 33 a6 7f ff c5 8b 2e c3 30 |K`[..n.3.......0|
|
||||
00000040 a6 60 91 f7 41 b2 5f de 14 b7 01 |.`..A._....|
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 40 f1 77 7c 5e e9 |..........@.w|^.|
|
||||
00000010 68 2b 4c 80 0a 14 97 b2 30 69 e5 be e2 e8 46 bb |h+L.....0i....F.|
|
||||
00000020 05 02 47 d9 df b9 a7 e4 0d d6 48 e3 6d cd da 30 |..G.......H.m..0|
|
||||
00000030 c7 be f0 1d ad c7 33 50 88 f5 83 90 f5 8d d3 91 |......3P........|
|
||||
00000040 a4 55 57 f8 f9 30 e4 df 98 a4 47 |.UW..0....G|
|
||||
>>> Flow 5 (client to server)
|
||||
00000000 17 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........|
|
||||
00000010 00 00 00 00 00 99 b2 5a 3e aa 44 e9 44 47 46 34 |.......Z>.D.DGF4|
|
||||
00000020 a4 b1 d3 48 9a 76 5f e8 d1 fc a4 08 37 d7 9e ab |...H.v_.....7...|
|
||||
00000030 2b c9 a7 b5 db 15 03 03 00 30 00 00 00 00 00 00 |+........0......|
|
||||
00000040 00 00 00 00 00 00 00 00 00 00 db a8 98 c2 93 75 |...............u|
|
||||
00000050 1e 0c b0 2c b0 10 31 9b cd 5a 4a f6 ad 65 64 a9 |...,..1..ZJ..ed.|
|
||||
00000060 fd 1d 7f ad 2e 57 d8 6d 4e 56 |.....W.mNV|
|
||||
00000010 00 00 00 00 00 02 aa 83 b3 3b fd b1 d5 4a e3 78 |.........;...J.x|
|
||||
00000020 cb b5 d4 4f b9 69 12 da c7 fa bc 7d 8e 8c d2 c7 |...O.i.....}....|
|
||||
00000030 c4 d1 5f 7b 8d 15 03 03 00 30 00 00 00 00 00 00 |.._{.....0......|
|
||||
00000040 00 00 00 00 00 00 00 00 00 00 c3 1e c6 f6 f6 f6 |................|
|
||||
00000050 f9 c6 a5 34 5f c6 ee 92 a5 3c 7a 1e 51 ef ca 72 |...4_....<z.Q..r|
|
||||
00000060 04 e5 1b cb f4 a7 f7 10 64 f0 |........d.|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue