2 # Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
4 # Licensed under the Apache License 2.0 (the "License"). You may not use
5 # this file except in compliance with the License. You can obtain a copy
6 # in the file LICENSE in the source distribution or at
7 # https://www.openssl.org/source/license.html
10 ## SSL test configurations
14 use OpenSSL::Test::Utils;
20 name => "disable-extended-master-secret-server-sha",
22 "Options" => "-ExtendedMasterSecret",
25 "CipherString" => "AES128-SHA",
26 "MaxProtocol" => "TLSv1.2"
29 "ExpectedResult" => "Success",
33 name => "disable-extended-master-secret-client-sha",
37 "CipherString" => "AES128-SHA",
38 "Options" => "-ExtendedMasterSecret",
39 "MaxProtocol" => "TLSv1.2"
42 "ExpectedResult" => "Success",
46 name => "disable-extended-master-secret-both-sha",
48 "Options" => "-ExtendedMasterSecret",
51 "CipherString" => "AES128-SHA",
52 "Options" => "-ExtendedMasterSecret",
53 "MaxProtocol" => "TLSv1.2"
56 "ExpectedResult" => "Success",
60 name => "disable-extended-master-secret-both-resume",
62 "Options" => "-ExtendedMasterSecret",
67 "CipherString" => "AES128-SHA",
68 "Options" => "-ExtendedMasterSecret",
69 "MaxProtocol" => "TLSv1.2"
72 "CipherString" => "AES128-SHA",
73 "MaxProtocol" => "TLSv1.2"
76 "HandshakeMode" => "Resume",
77 "ExpectedResult" => "Success",
81 name => "disable-extended-master-secret-server-sha2",
83 "Options" => "-ExtendedMasterSecret",
86 "CipherString" => "AES128-SHA256",
87 "MaxProtocol" => "TLSv1.2"
90 "ExpectedResult" => "Success",
94 name => "disable-extended-master-secret-client-sha2",
98 "CipherString" => "AES128-SHA256",
99 "Options" => "-ExtendedMasterSecret",
100 "MaxProtocol" => "TLSv1.2"
103 "ExpectedResult" => "Success",
107 name => "disable-extended-master-secret-both-sha2",
109 "Options" => "-ExtendedMasterSecret",
112 "CipherString" => "AES128-SHA256",
113 "Options" => "-ExtendedMasterSecret",
114 "MaxProtocol" => "TLSv1.2"
117 "ExpectedResult" => "Success",
122 push @tests, @tests_tls1_2 unless disabled("tls1_2");