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
59
testdata/Server-TLSv12-RSA-AES
vendored
59
testdata/Server-TLSv12-RSA-AES
vendored
|
@ -1,10 +1,11 @@
|
|||
>>> Flow 1 (client to server)
|
||||
00000000 16 03 01 00 5a 01 00 00 56 03 03 9c 67 a7 12 b5 |....Z...V...g...|
|
||||
00000010 cf 32 f8 50 7c af cd 3f b1 e1 cc cb 94 65 91 d2 |.2.P|..?.....e..|
|
||||
00000020 f3 6a 22 f9 00 4c 58 ad 40 59 6b 00 00 04 00 2f |.j"..LX.@Yk..../|
|
||||
00000030 00 ff 01 00 00 29 00 0d 00 20 00 1e 06 01 06 02 |.....)... ......|
|
||||
00000000 16 03 01 00 5d 01 00 00 59 03 03 eb b8 69 bb 4f |....]...Y....i.O|
|
||||
00000010 6e 80 93 7e eb ad d2 54 28 45 af c2 46 3d b5 2c |n..~...T(E..F=.,|
|
||||
00000020 3f 31 14 d5 23 da d8 a9 e8 c4 6f 00 00 04 00 2f |?1..#.....o..../|
|
||||
00000030 00 ff 01 00 00 2c 00 0d 00 20 00 1e 06 01 06 02 |.....,... ......|
|
||||
00000040 06 03 05 01 05 02 05 03 04 01 04 02 04 03 03 01 |................|
|
||||
00000050 03 02 03 03 02 01 02 02 02 03 00 0f 00 01 01 |...............|
|
||||
00000050 03 02 03 03 02 01 02 02 02 03 00 16 00 00 00 17 |................|
|
||||
00000060 00 00 |..|
|
||||
>>> Flow 2 (server to client)
|
||||
00000000 16 03 03 00 31 02 00 00 2d 03 03 00 00 00 00 00 |....1...-.......|
|
||||
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
||||
|
@ -49,31 +50,31 @@
|
|||
00000280 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.|
|
||||
00000290 3b e9 fa e7 16 03 03 00 04 0e 00 00 00 |;............|
|
||||
>>> Flow 3 (client to server)
|
||||
00000000 16 03 03 00 86 10 00 00 82 00 80 57 92 53 a8 b1 |...........W.S..|
|
||||
00000010 ef eb 17 f1 ec 05 e0 fa 30 2f 1f b5 e1 a2 dd d1 |........0/......|
|
||||
00000020 3d 61 84 d5 bf 2d 74 03 f0 86 f1 31 5f a3 1e 90 |=a...-t....1_...|
|
||||
00000030 98 ec 5b c1 01 c0 51 0b 31 90 8f 96 75 00 ba c6 |..[...Q.1...u...|
|
||||
00000040 e7 5a fd 79 5c eb 39 3d 2f 9b d8 24 2a 38 2f 53 |.Z.y\.9=/..$*8/S|
|
||||
00000050 fd bc 10 60 bf 21 2a 9e de 90 07 95 ca c2 e2 1d |...`.!*.........|
|
||||
00000060 08 f1 7a db 22 05 47 9e 12 ae 25 49 9e c1 79 a0 |..z.".G...%I..y.|
|
||||
00000070 99 15 89 5d 66 e0 dc df 3d e7 9e 16 26 0a 7f 33 |...]f...=...&..3|
|
||||
00000080 3d 26 09 f6 26 c1 ce f2 22 cc 24 14 03 03 00 01 |=&..&...".$.....|
|
||||
00000090 01 16 03 03 00 40 d6 e1 cf 32 2a 55 ca 4b 8f 0c |.....@...2*U.K..|
|
||||
000000a0 b1 bd a4 b6 72 d0 66 fc 1d ef af c4 44 29 db f5 |....r.f.....D)..|
|
||||
000000b0 04 1d bc 9d 89 ba 87 b9 60 3e 75 cf 24 d6 65 9a |........`>u.$.e.|
|
||||
000000c0 92 99 e2 7c 48 89 ea 3b a7 c1 77 e1 b4 2e 32 70 |...|H..;..w...2p|
|
||||
000000d0 ef 48 09 b5 21 fb |.H..!.|
|
||||
00000000 16 03 03 00 86 10 00 00 82 00 80 8f 7d 6e f4 65 |............}n.e|
|
||||
00000010 ae d4 3c 5b 21 c5 d4 f2 b8 31 94 2e bb 50 b5 33 |..<[!....1...P.3|
|
||||
00000020 0c c4 51 89 8a c2 34 0d 11 e4 78 6c f0 00 76 4b |..Q...4...xl..vK|
|
||||
00000030 77 db 01 a7 2e 35 65 c7 83 78 85 92 57 c7 eb c9 |w....5e..x..W...|
|
||||
00000040 cb ec 86 72 59 db cd 29 3b a5 8e d4 d1 67 15 f3 |...rY..);....g..|
|
||||
00000050 e8 90 68 65 81 66 6e 65 7b d2 29 a5 76 26 d9 81 |..he.fne{.).v&..|
|
||||
00000060 08 3b 62 13 86 25 a8 a1 67 7f a3 e3 f2 e9 2c b7 |.;b..%..g.....,.|
|
||||
00000070 cd 93 20 25 fc aa cc 9c 09 43 7f be f1 70 b6 54 |.. %.....C...p.T|
|
||||
00000080 69 cb 56 d8 dc 03 b7 57 a0 24 4d 14 03 03 00 01 |i.V....W.$M.....|
|
||||
00000090 01 16 03 03 00 40 72 e6 0e 90 53 91 e4 ce fa 93 |.....@r...S.....|
|
||||
000000a0 78 30 20 8f 6c 20 4d d0 08 4d da 62 87 f3 9f f3 |x0 .l M..M.b....|
|
||||
000000b0 e1 77 7a e5 7c e9 47 a0 85 c3 3a 35 59 b5 9b 2f |.wz.|.G...:5Y../|
|
||||
000000c0 6b f1 75 38 89 5f aa ac e1 c5 b0 e6 52 b5 f4 12 |k.u8._......R...|
|
||||
000000d0 ca 9d 39 82 c2 dc |..9...|
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 40 00 00 00 00 00 |..........@.....|
|
||||
00000010 00 00 00 00 00 00 00 00 00 00 00 9c 22 a2 de 7d |............"..}|
|
||||
00000020 53 e3 38 a8 b9 f5 75 9e 11 6e 0c 23 a0 c6 d1 98 |S.8...u..n.#....|
|
||||
00000030 ea 28 4e 9f ae b4 d0 66 74 b7 53 07 95 a0 31 5b |.(N....ft.S...1[|
|
||||
00000040 be d4 c8 c5 7c 59 5e 4d f8 e0 fc 17 03 03 00 40 |....|Y^M.......@|
|
||||
00000010 00 00 00 00 00 00 00 00 00 00 00 e9 de 46 69 c7 |.............Fi.|
|
||||
00000020 6f cc f7 15 4a bd cc a9 c6 50 ae c8 7d 92 d1 ae |o...J....P..}...|
|
||||
00000030 f6 05 0b c6 93 25 d5 e8 b7 a4 8e e9 78 08 5d ba |.....%......x.].|
|
||||
00000040 4e 6f b9 64 56 85 0c 0c 8e 25 67 17 03 03 00 40 |No.dV....%g....@|
|
||||
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
||||
00000060 eb cf 0b ba dd 31 3a db db d6 13 26 a6 41 c4 48 |.....1:....&.A.H|
|
||||
00000070 d0 ea 2a 85 f2 07 07 91 b5 d0 80 73 2b 6d 8d 12 |..*........s+m..|
|
||||
00000080 a0 7d 03 66 1c 12 27 76 d0 bb 5f dd 5b 3b b2 0d |.}.f..'v.._.[;..|
|
||||
00000060 3f a8 60 c9 b8 cc 5a 16 8b b0 a8 05 09 ae dc d8 |?.`...Z.........|
|
||||
00000070 f3 8e 84 39 58 46 64 72 8d 17 48 45 91 08 95 d6 |...9XFdr..HE....|
|
||||
00000080 e2 e3 24 27 bb 93 e1 02 f1 04 bd 38 c5 b8 04 47 |..$'.......8...G|
|
||||
00000090 15 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........|
|
||||
000000a0 00 00 00 00 00 77 ab 76 a5 b4 12 89 cd d6 a5 6b |.....w.v.......k|
|
||||
000000b0 be 41 9e 98 d2 d7 61 c8 c1 ff a7 a0 92 18 bb 77 |.A....a........w|
|
||||
000000c0 dd e6 ba fc 09 |.....|
|
||||
000000a0 00 00 00 00 00 4b 1d 43 0c 1c e8 f1 e9 bc 23 be |.....K.C......#.|
|
||||
000000b0 10 c7 53 d5 ae d1 b0 db bb 2c a5 0b be 77 cf 49 |..S......,...w.I|
|
||||
000000c0 1c 3f fd 9b 6c |.?..l|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue