mirror of
https://github.com/openssl/openssl.git
synced 2024-12-18 22:43:41 +08:00
590ed3d7ea
Systematically test every server-side version downgrade or upgrade. Client version upgrade or downgrade could be tested analogously but will be done in a later change. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
47 lines
1.2 KiB
Cheetah
47 lines
1.2 KiB
Cheetah
[{-$testname-}]
|
|
ssl_conf = {-$testname-}-ssl
|
|
|
|
[{-$testname-}-ssl]
|
|
server = {-$testname-}-server{-
|
|
# The following sections are optional.
|
|
$OUT = "";
|
|
if (%server2) {
|
|
$OUT .= "\nserver2 = $testname-server2";
|
|
}
|
|
if (%resume_server) {
|
|
$OUT .= "\nresume-server = $testname-resume-server";
|
|
}
|
|
-}
|
|
client = {-$testname-}-client
|
|
|
|
[{-$testname-}-server]
|
|
{-
|
|
foreach my $key (sort keys %server) {
|
|
$OUT .= qq{$key} . " = " . qq{$server{$key}\n} if defined $server{$key};
|
|
}
|
|
if (%server2) {
|
|
$OUT .= "\n[$testname-server2]\n";
|
|
foreach my $key (sort keys %server2) {
|
|
$OUT .= qq{$key} . " = " . qq{$server2{$key}\n} if defined $server2{$key};
|
|
}
|
|
}
|
|
if (%resume_server) {
|
|
$OUT .= "\n[$testname-resume-server]\n";
|
|
foreach my $key (sort keys %resume_server) {
|
|
$OUT .= qq{$key} . " = " . qq{$resume_server{$key}\n} if defined $resume_server{$key};
|
|
}
|
|
}
|
|
-}
|
|
[{-$testname-}-client]
|
|
{-
|
|
foreach my $key (sort keys %client) {
|
|
$OUT .= qq{$key} . " = " . qq{$client{$key}\n} if defined $client{$key};
|
|
}
|
|
-}
|
|
[test-{-$idx-}]
|
|
{-
|
|
foreach my $key (sort keys %test) {
|
|
$OUT .= qq{$key} ." = " . qq{$test{$key}\n} if defined $test{$key};
|
|
}
|
|
-}
|