Procházet zdrojové kódy

secureserver: FIPS option is only supported since stunnel 5.00

Marc Hoersken před 10 roky
rodič
revize
8e62f7a650
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  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