... and make test 2034 and 2035 require it, and have it set when built
with OpenSSL or GnuTLS.
OpenSSL
socks
SSL
+SSLpinning
TLS-SRP
TrackMemory
unittest
<client>
<features>
SSL
+SSLpinning
</features>
<server>
https Server-localhost-sv.pem
<client>
<features>
SSL
+SSLpinning
</features>
<server>
https Server-localhost-sv.pem
my $has_winssl; # built with WinSSL (Secure Channel aka Schannel)
my $has_darwinssl;# build with DarwinSSL (Secure Transport)
+my $has_sslpinning; # built with a TLS backend that supports pinning
+
my $has_shared = "unknown"; # built shared
my $resolver; # string to hold the resolver backend
}
elsif ($libcurl =~ /openssl/i) {
$has_openssl=1;
+ $has_sslpinning=1;
$ssllib="OpenSSL";
}
elsif ($libcurl =~ /gnutls/i) {
$has_gnutls=1;
+ $has_sslpinning=1;
$ssllib="GnuTLS";
}
elsif ($libcurl =~ /nss/i) {
next;
}
}
+ elsif($1 eq "SSLpinning") {
+ if($has_sslpinning) {
+ next;
+ }
+ }
elsif($1 eq "OpenSSL") {
if($has_openssl) {
next;