Skip to content

Commit

Permalink
Merge pull request #29 from libwww-perl/update-mk-ca-bundle
Browse files Browse the repository at this point in the history
Update mk-ca-bundle.pl script
  • Loading branch information
lwp-automation[bot] authored Jun 30, 2024
2 parents 15a007c + 8e55853 commit 5e35b55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions maint/mk-ca-bundle.pl
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@
$url = $opt_d;
}

my $curl = `curl -V`;

if ($opt_i) {
print ("=" x 78 . "\n");
print "Script Version : $version\n";
Expand Down Expand Up @@ -314,6 +312,7 @@ (%)

# If we have an HTTPS URL then use curl
if($url =~ /^https:\/\//i) {
my $curl = `curl -V`;
if($curl) {
if($curl =~ /^Protocols:.* https( |$)/m) {
report "Get certdata with curl!";
Expand Down

0 comments on commit 5e35b55

Please sign in to comment.