]> granicus.if.org Git - curl/commitdiff
libcurl supplies its own crypto hash functions when SSL is disabled, so
authorDan Fandrich <dan@coneharvesters.com>
Mon, 12 Mar 2007 20:50:16 +0000 (20:50 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Mon, 12 Mar 2007 20:50:16 +0000 (20:50 +0000)
'crypto' tests aren't dependent on SSL.  Compiling with
--disable-crypto-auth will cause test failures, however.

tests/runtests.pl

index 53e4cd4e5499607665228b926adac15a129592c7..ca43309ca942f36fb843dd1fd874a304eb882ffb 100755 (executable)
@@ -1045,9 +1045,6 @@ sub checksystem {
             if($feat =~ /SSL/i) {
                 # ssl enabled
                 $ssl_version=1;
-                # curl doesn't list cryptographic support separately, so treat
-                # it the same as SSL for the time being
-                $has_crypto=1;
             }
             if($feat =~ /Largefile/i) {
                 # large file support
@@ -1123,6 +1120,10 @@ sub checksystem {
         die "can't run torture tests since curl was not build with debug";
     }
 
+    # curl doesn't list cryptographic support separately, so assume it's
+    # always available
+    $has_crypto=1;
+
     my $hostname=`hostname`;
     my $hosttype=`uname -a`;