diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/secureserver.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/secureserver.pl b/tests/secureserver.pl index 36a902e5a..aaf6e6094 100755 --- a/tests/secureserver.pl +++ b/tests/secureserver.pl @@ -112,7 +112,12 @@ while(@ARGV) { } elsif($ARGV[0] eq '--stunnel') { if($ARGV[1]) { - $stunnel = $ARGV[1]; + if($ARGV[1] =~ /^([\w\/]+)$/) { + $stunnel = $ARGV[1]; + } + else { + $stunnel = "\"". $ARGV[1] ."\""; + } shift @ARGV; } } |