3 ## SSL test configurations
11 use OpenSSL::Test::Utils qw(anydisabled);
13 my $dir_sep = $^O ne "VMS" ? "/" : "";
16 "ECDSA.Certificate" => "\${ENV::TEST_CERTS_DIR}${dir_sep}server-ecdsa-cert.pem",
17 "ECDSA.PrivateKey" => "\${ENV::TEST_CERTS_DIR}${dir_sep}server-ecdsa-key.pem",
18 # TODO: add test cases for TLSv1.3
19 "MaxProtocol" => "TLSv1.2"
24 name => "ECDSA CipherString Selection",
27 "CipherString" => "aECDSA",
30 "ExpectedServerCertType" =>, "P-256",
31 "ExpectedResult" => "Success"
35 name => "RSA CipherString Selection",
38 "CipherString" => "aRSA",
41 "ExpectedServerCertType" =>, "RSA",
42 "ExpectedResult" => "Success"
46 name => "ECDSA CipherString Selection, no ECDSA certificate",
49 "CipherString" => "aECDSA"
52 "ExpectedResult" => "ServerFail"
56 name => "ECDSA Signature Algorithm Selection",
59 "SignatureAlgorithms" => "ECDSA+SHA256",
62 "ExpectedServerCertType" => "P-256",
63 "ExpectedServerSignHash" => "SHA256",
64 "ExpectedResult" => "Success"
68 name => "ECDSA Signature Algorithm Selection, no ECDSA certificate",
71 "SignatureAlgorithms" => "ECDSA+SHA256",
74 "ExpectedResult" => "ServerFail"
78 name => "RSA Signature Algorithm Selection",
81 "SignatureAlgorithms" => "RSA+SHA256",
84 "ExpectedServerCertType" => "RSA",
85 "ExpectedServerSignHash" => "SHA256",
86 "ExpectedResult" => "Success"