2 # Test complete connection a number of external SSL web servers
11 banking.wellsfargo.com
15 @sites = split(/:/, $ENV{SSLEAY_SITES}) if exists $ENV{SSLEAY_SITES};
17 plan tests => scalar @sites * 2;
20 plan skip_all => 'No external hosts specified for SSL testing';
26 my ($p, $r, %h) = Net::SSLeay::get_https($site, 443, '/');
27 skip 'could not connect', 2 unless defined $h{'CONTENT-TYPE'};
29 ok($r =~ /^HTTP\/1/s, 'correct response');