summaryrefslogtreecommitdiffstats
path: root/test/ssl_test.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'test/ssl_test.tmpl')
-rw-r--r--test/ssl_test.tmpl11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/ssl_test.tmpl b/test/ssl_test.tmpl
index 6a5333e9f4..31699183a1 100644
--- a/test/ssl_test.tmpl
+++ b/test/ssl_test.tmpl
@@ -3,11 +3,14 @@ ssl_conf = {-$testname-}-ssl
[{-$testname-}-ssl]
server = {-$testname-}-server{-
- # The server2 section is optional.
+ # The following sections are optional.
$OUT = "";
if (%server2) {
$OUT .= "\nserver2 = $testname-server2";
}
+ if (%resume_server) {
+ $OUT .= "\nresume-server = $testname-resume-server";
+ }
-}
client = {-$testname-}-client
@@ -22,6 +25,12 @@ client = {-$testname-}-client
$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]
{-