summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Joseph Bachir <j@jjb.cc>2012-03-08 18:11:41 -0500
committerDaniel Stenberg <daniel@haxx.se>2012-03-10 15:51:24 +0100
commit9f0e1689f169b83b8fbdae23e0024cc57dcbc770 (patch)
treef82d50401284fac9b79a56c27158535240f5c588
parentf7e2ab629e51e2c48d8ab48cf4cf116552cafc49 (diff)
downloadgnurl-9f0e1689f169b83b8fbdae23e0024cc57dcbc770.tar.gz
gnurl-9f0e1689f169b83b8fbdae23e0024cc57dcbc770.tar.bz2
gnurl-9f0e1689f169b83b8fbdae23e0024cc57dcbc770.zip
mk-ca-bundle.pl: use LWP::UserAgent with proper https verify behavior.
An alternative would be: 1. specify HTTPS_CA_DIR and/or HTTPS_CA_FILE 2. ensure that Net::SSL is being used, and IO::Socket::SSL is NOT being used This question and answer explain: http://stackoverflow.com/questions/74358/
-rwxr-xr-xlib/mk-ca-bundle.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mk-ca-bundle.pl b/lib/mk-ca-bundle.pl
index 468553067..0f24ade4c 100755
--- a/lib/mk-ca-bundle.pl
+++ b/lib/mk-ca-bundle.pl
@@ -32,7 +32,7 @@
#
use Getopt::Std;
use MIME::Base64;
-use LWP::UserAgent;
+use LWP::UserAgent 6;
use strict;
use vars qw($opt_b $opt_h $opt_i $opt_l $opt_n $opt_q $opt_t $opt_u $opt_v);