Home | History | Annotate | Download | only in tests

Lines Matching refs:stunnel

25 # harness. Actually just a layer that runs stunnel properly using the
43 my $stunnel = "stunnel";
60 my $pidfile; # stunnel pid file
61 my $logfile; # stunnel log file
62 my $loglevel = 5; # stunnel log level
66 my $conffile; # stunnel configuration file
71 # stunnel requires full path specification for several files.
78 # Signal handler to remove our stunnel 4.00 and newer configuration file.
117 elsif($ARGV[0] eq '--stunnel') {
120 $stunnel = $ARGV[1];
123 $stunnel = "\"". $ARGV[1] ."\"";
182 $conffile = "$path/stunnel.conf";
185 $certfile = "$srcdir/". ($stuncert?"certs/$stuncert":"stunnel.pem");
191 # Find out version info for the given stunnel binary
194 foreach my $verstr (qx($stunnel $veropt 2>&1)) {
195 if($verstr =~ /^stunnel (\d+)\.(\d+) on /) {
200 # the fips option causes an error if stunnel doesn't support it
208 if(-x "$stunnel" && ! -d "$stunnel") {
209 print "$ssltext Unknown stunnel version\n";
212 print "$ssltext No stunnel\n";
219 # Verify minimum stunnel required version
222 print "$ssltext Unsupported stunnel version $ver_major.$ver_minor\n";
229 if($stunnel =~ /tstunnel(\.exe)?"?$/) {
238 # Build command to execute for stunnel 3.X versions
244 $cmd = "$stunnel -p $certfile -P $pidfile ";
249 print uc($proto) ." server (stunnel $ver_major.$ver_minor)\n";
261 # Build command to execute for stunnel 4.00 and newer
265 $cmd = "$stunnel $conffile ";
270 # stunnel configuration file
300 print uc($proto) ." server (stunnel $ver_major.$ver_minor)\n";
346 # Run stunnel.