Sfoglia il codice sorgente

secureserver: FIPS option is only supported since stunnel 5.00

Marc Hoersken 10 anni fa
parent
commit
8e62f7a650
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      tests/secureserver.pl

+ 4 - 1
tests/secureserver.pl

@@ -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