]> granicus.if.org Git - curl/commitdiff
mk-ca-bundle.pl: use LWP::UserAgent with proper https verify behavior.
authorJohn Joseph Bachir <j@jjb.cc>
Thu, 8 Mar 2012 23:11:41 +0000 (18:11 -0500)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 10 Mar 2012 14:51:24 +0000 (15:51 +0100)
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/

lib/mk-ca-bundle.pl

index 4685530676474bb279bfa386e8d5e1cc53249947..0f24ade4cfe498a969b692a5cc1c75c9c00a7175 100755 (executable)
@@ -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);