Skip to content

Commit

Permalink
Update mk-ca-bundle.pl script
Browse files Browse the repository at this point in the history
  • Loading branch information
lwp-automation[bot] committed Jun 30, 2024
1 parent 15a007c commit 8e55853
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 8e55853

Please sign in to comment.