From 8e558532920b7f6327c6e632e6f3905778c6fbea Mon Sep 17 00:00:00 2001 From: "lwp-automation[bot]" <133031837+lwp-automation[bot]@users.noreply.github.com> Date: Sun, 30 Jun 2024 15:23:23 +0000 Subject: [PATCH] Update mk-ca-bundle.pl script --- maint/mk-ca-bundle.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/maint/mk-ca-bundle.pl b/maint/mk-ca-bundle.pl index 83027a4..0971710 100755 --- a/maint/mk-ca-bundle.pl +++ b/maint/mk-ca-bundle.pl @@ -136,8 +136,6 @@ $url = $opt_d; } -my $curl = `curl -V`; - if ($opt_i) { print ("=" x 78 . "\n"); print "Script Version : $version\n"; @@ -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!";