]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
secureserver: FIPS option is only supported since stunnel 5.00
authorMarc Hoersken <info@marc-hoersken.de>
Sun, 9 Feb 2014 12:36:11 +0000 (13:36 +0100)
committerMarc Hoersken <info@marc-hoersken.de>
Sun, 9 Feb 2014 12:39:43 +0000 (13:39 +0100)
tests/secureserver.pl

index b25b9acf01a707dfbcb59cd696feba5a08ca2cca..66f891f710e3f9b85a009bda43971a60ad41082e 100755 (executable)
@@ -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