secureserver: FIPS option is only supported since stunnel 5.00

This commit is contained in:
Marc Hoersken 2014-02-09 13:36:11 +01:00
parent 8cf63f88c2
commit 8e62f7a650
1 changed files with 4 additions and 1 deletions

View File

@ -252,8 +252,11 @@ if($stunnel_version >= 400) {
CApath = $path
cert = $certfile
debug = $loglevel
fips = no
socket = $socketopt";
if($stunnel_version >= 500) {
print STUNCONF "
fips = no";
}
if($stunnel !~ /tstunnel(\.exe)?"?$/) {
print STUNCONF "
output = $logfile