aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-01-11 03:12:54 +0000
committerlloyd <[email protected]>2015-01-11 03:12:54 +0000
commit53b1202b5a0597be40f40717ee4dc6213f1f0a0e (patch)
tree13e9091983a9999d8449d8e21548b40cfd4c1ac6 /src/tests
parentac5aae3fa32b51ac38cbbeb0f09116c1f258b9e1 (diff)
Remove SSLv3 and handling of SSLv2 client hellos.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/data/kdf/ssl3prf.vec166
-rw-r--r--src/tests/data/mac/ssl3mac.vec26
-rw-r--r--src/tests/unit_tls.cpp1
3 files changed, 0 insertions, 193 deletions
diff --git a/src/tests/data/kdf/ssl3prf.vec b/src/tests/data/kdf/ssl3prf.vec
deleted file mode 100644
index cb405083f..000000000
--- a/src/tests/data/kdf/ssl3prf.vec
+++ /dev/null
@@ -1,166 +0,0 @@
-[SSL3-PRF]
-Secret = 6E60
-Salt = 17FEBCA565786528F84A
-OutputLen = 16
-Output = D626B75AB8BD4F5B9458BDDA8589FD39
-
-Secret = 66BEEC6EDE7FCDF50B76EBCD5C0FE0A472F2EA8B1E2BE2971E49CA
-Salt = 5C461D77ACDB631ABAE2E7AFED5E9ABBBAA99B
-OutputLen = 1
-Output = EB
-
-Secret = 1171D78F812512DEFBA258574E41F2832BB9B359EB0CA79E7669
-Salt = 73D677854D88F62417774A2A5645CCAE9C1AEF8E9D1B48
-OutputLen = 2
-Output = 2C8B
-
-Secret = 6162DEC990B2132C30C153F2B200
-Salt = 2666F0B22E8E48DB1640
-OutputLen = 3
-Output = 1B9430
-
-Secret = D3C0DD69C18F17D35C5296FE45F0
-Salt = 320C9EEC122C19AFB8E90F72
-OutputLen = 4
-Output = C7C19FCD
-
-Secret = EE6A733EC671DA7477AE18916895A133CC92E23DBACEE2634846CAEF0B08
-Salt = B7F9722B37389C11
-OutputLen = 5
-Output = C264D9D0C9
-
-Secret = 97D7F3D2AFB3198862F6FAC8B17CCEFB26
-Salt = D3583CD13AC119CAFBD44CAEA5AB
-OutputLen = 6
-Output = C1CB767626AC
-
-Secret = E87A9BBC656884A13295B8D4DD4645905846C249D2470ACD2BE5
-Salt = 542D044668EDC104A9266C2EC79EC37F72A0C6B7301EFDF267CF39
-OutputLen = 7
-Output = 3DC5B6402F451C
-
-Secret = 7463F0B9F822E17311E47680DC5B505811E9
-Salt = 02AB98439528C994
-OutputLen = 8
-Output = FE4B1DA4EDA36820
-
-Secret = EE8999703E5D9C628AA404235F3C94C3A890B1
-Salt = 161DEB5AB705BD15
-OutputLen = 9
-Output = EF317D3E81DAEF0F89
-
-Secret = AE531918E679D2D7B32C61BA31415484E9725B2905095819
-Salt = A162AC0F0AB41CB80735D1EDAEA3C562CF261C0067
-OutputLen = 10
-Output = 18D5272345C1695BE38C
-
-Secret = 8FE402D6ED0BD018A532FC063E7D81D97CDEA7
-Salt = BF7F091B6E0DDB90897B6BF80A4F
-OutputLen = 11
-Output = D61088CA1CE8944B17CD3E
-
-Secret = 4279DB52505E7B505BBC26CE0FBF2F4353086C1363
-Salt = 8710A8A12B2D18A27A50E5F32C37448A
-OutputLen = 12
-Output = 4A84A8E829528393FF890129
-
-Secret = B80B58DAB89B1C4D1335C48E479220E253B8EACFD64319544A
-Salt = E9158BA5F6E25D013A37B9D65406E989CB77D05D97B2B04F9C7F26DF987A
-OutputLen = 13
-Output = 1450E50B7D86B76015930BA420
-
-Secret = 965F1BC656F01C1C7F977419A5F99FB54FA34548C332EA79B5B0EE
-Salt = 3F6FF94F05596ACBAF5AE7CBD97E3FF3233992D988361E
-OutputLen = 14
-Output = CEE11A3A9A406FE9DA77FE6FB007
-
-Secret = 657B5F618710AF88BF4F0328E7071D022D02EA5E
-Salt = BD0A575481E823931F68BE84E31DE56B2D95F3ECE4F614CBFD31CE
-OutputLen = 15
-Output = 8EA957C330D55CC208326CEA06D25A
-
-Secret = 33CE7917528009F2A1011CFCD494B80D4BBFD901
-Salt = 81851CC61D3E910E04D5EC38A465
-OutputLen = 16
-Output = 2FB1FDD16FCE41C9C563226A564D1647
-
-Secret = 40ED568CFC6C0A17866C67B7660C96BF9DA54C
-Salt = A3502B96214854E5AF5720E8970D3F240AAB2E21319A88E901
-OutputLen = 17
-Output = 321118AA031C5C9EFF145542B4426C3C71
-
-Secret = 12695F5B19541C8B0092418A72A7ED8482F35FCC4A82D4E1C5AE
-Salt = 2CE5F4676C06D0CB61E91F7D751F0F
-OutputLen = 18
-Output = 22BC94F745F6E247054DDA2C772E5D2D3EC4
-
-Secret = F36E535A1C2C6F6771
-Salt = 290BE26068D887AA6E86500E85C606
-OutputLen = 19
-Output = 6004BBD20BB68E2F1FFC65977807EE25A3FBFE
-
-Secret = 7C7EE43D46AE85D23F0D5264DBD410
-Salt = FC4A7F986331A012CBDAD765288C2CEC08AAD045
-OutputLen = 20
-Output = 0E1FE69316D67CF65D62196C25CC4F517664BD43
-
-Secret = C580B05EC577F45434C13640AAB31B
-Salt = 6C9F5929EA435A86E117BD586B34F7E4F97794573C0B4C90
-OutputLen = 21
-Output = 937E22F90D1493317B0B068A44859036905540AF67
-
-Secret = E275AEB758A949CBB11256E74412E1DA3743899F9007DD5D80A7
-Salt = 585B267A9E08EF4DBF48F6
-OutputLen = 22
-Output = 69C2640797F38E87F1C870891164F0B31F1A3A02627A
-
-Secret = DCF06E7AC257DA73CC6FC0A086B4
-Salt = 16F0355230F105EB316F558512EC3B51871741
-OutputLen = 23
-Output = 30CCF63491F642A55E45136E42FDD0355DB272502EA1B0
-
-Secret = C4C38EC6A1EA975D0ECA535B0CC4D6D0
-Salt = E84EE4D9DC701DE04E250768F2DFB9B6A2
-OutputLen = 24
-Output = 3B50F91EDFDD96CBA8B6329616D4F5964CD8C961CB1D9332
-
-Secret = 7B557AC16D60B74ECAA87641887E6467BAC107
-Salt = D7B9EB91BCDE1F6C144A0799
-OutputLen = 25
-Output = CA148D27F3DC362B0F43C68312058C1CD9B92ECAC2CFDD601F
-
-Secret = B23EFA7FAA11D0E597F00867992CB3B9DA93D607FAC0
-Salt = DA5E3A17C6DDE81CC69A5AC11904D2E9E969D9F2D1731E842C
-OutputLen = 26
-Output = 510297144BA4E0FB5C94749576F756AA36F51289CA463419DC06
-
-Secret = 1A5063B374A5F7769AD59432CFFA6B
-Salt = FE0314911D4C07803C48A9EA86
-OutputLen = 27
-Output = 3437D8B56E573E724B72DD08A5D144E86E646BD24EA0795BA2C3BD
-
-Secret = 870515C65F0AF7AAB10C365AF8AC535E1AA8997D139645A21F71FD23ABBB
-Salt = AA33C0BFF91FC9F1C97BFD00D5F5AC2953C6D1EC43E5838887A2F984C5A53F
-OutputLen = 28
-Output = 1895554BD0A1DE7F48FA8776D314EAE2B9E8D7E3CF2A418D17659DC1
-
-Secret = 1BAE220F6AFEB0A2F51D44721A7A9B9C
-Salt = 11555530CBAECFF82C76147416A50831532A40BD29F15F1E0EA49129
-OutputLen = 29
-Output = 13720151D256DEBAAA668359A876A9A9788D540F509E90372952A91757
-
-Secret = BC55F2BAC14370BB5832575A233F1FCE32322E5B4CE1955153CAF3C84493DF
-Salt = 00E8D1BAA9142A646C5DBCC680FB
-OutputLen = 30
-Output = 972B190F7EC73DA7C5B8B38E9B6DCEE452AB0BC2220F37BEA3FAC596B2F6
-
-Secret = 834CD382FBF84FF54CC8D3BCB778ACD7DDE8FE32ABA212ABB1
-Salt = EE768F1AAF889EFB5B20F7536FECA037BF
-OutputLen = 31
-Output = 6151C82D7384ED41264424827766B6A7279593C86DCBAC9A4D711009E30EC3
-
-Secret = E0BDEBC1D1EEDB393368D489
-Salt = 5D2B46C7BB5258ABC13514995E518FD4D77BECB738D77909
-OutputLen = 32
-Output = F3D8ED6D46280C3694F33D2D4A210248D657277DD78ACD3B34063D085657A58E
-
diff --git a/src/tests/data/mac/ssl3mac.vec b/src/tests/data/mac/ssl3mac.vec
deleted file mode 100644
index 5026b165e..000000000
--- a/src/tests/data/mac/ssl3mac.vec
+++ /dev/null
@@ -1,26 +0,0 @@
-[SSL3-MAC(MD5)]
-Key = 0123456789ABCDEF0123456789ABCDEF
-In = 00
-Out = A856430AF077AE2C328D9FFE4E56813A
-
-Key = 0123456789ABCDEF0123456789ABCDEF
-In = 01
-Out = 96279D16E7812EDDA2EC64DAC996348F
-
-Key = 0123456789ABCDEF0123456789ABCDEF
-In = 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
-Out = 475006C7DC7A3F371352D948B4BE950E
-
-[SSL3-MAC(SHA-1)]
-Key = 0123456789ABCDEF0123456789ABCDEF01234567
-In = 00
-Out = DD2BA1F4A721F22C8A9BA7350B5CD6838B225827
-
-Key = 0123456789ABCDEF0123456789ABCDEF01234567
-In = 01
-Out = CD6289A1FEC0BB104C271BE488343BA92328B073
-
-Key = 0123456789ABCDEF0123456789ABCDEF01234567
-In = 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
-Out = 98E523EADE38B3BF4EBF51D7EE814316C9EB3159
-
diff --git a/src/tests/unit_tls.cpp b/src/tests/unit_tls.cpp
index ef445c99a..60b7297a1 100644
--- a/src/tests/unit_tls.cpp
+++ b/src/tests/unit_tls.cpp
@@ -290,7 +290,6 @@ size_t test_tls()
auto& rng = test_rng();
std::auto_ptr<Credentials_Manager> basic_creds(create_creds(rng));
- errors += basic_test_handshake(rng, TLS::Protocol_Version::SSL_V3, *basic_creds, default_policy);
errors += basic_test_handshake(rng, TLS::Protocol_Version::TLS_V10, *basic_creds, default_policy);
errors += basic_test_handshake(rng, TLS::Protocol_Version::TLS_V11, *basic_creds, default_policy);
errors += basic_test_handshake(rng, TLS::Protocol_Version::TLS_V12, *basic_creds, default_policy);