runtests: yassl and polarssl are not openssl
authorDaniel Stenberg <daniel@haxx.se>
Tue, 3 Apr 2012 22:07:26 +0000 (00:07 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 3 Apr 2012 22:07:26 +0000 (00:07 +0200)
Don't set the "has_openssl" variable if yassl or polarssl is found as
they will simply not work as 100% drop-in replacements for some of the
stuff the "OpenSSL" feature is used for.

I spotted this problem when doing test runs with PolarSSL builds.

tests/runtests.pl

index 7ee7d60..a984e8c 100755 (executable)
@@ -2269,12 +2269,10 @@ sub checksystem {
            }
            elsif ($libcurl =~ /yassl/i) {
                $has_yassl=1;
-               $has_openssl=1;
                $ssllib="yassl";
            }
            elsif ($libcurl =~ /polarssl/i) {
                $has_polarssl=1;
-               $has_openssl=1;
                $ssllib="polarssl";
            }
            elsif ($libcurl =~ /axtls/i) {