summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-02-11 14:04:36 -0800
committerIvan Kohler <ivan@freeside.biz>2013-02-11 14:04:36 -0800
commit1890f91b31ff13176c404c65f9f140c869be9bf7 (patch)
treeabb7a57f76f6fef388c0c72633f4f726dda44ee3
parent7cf74de0a6a82bc9777b972bc3e68965bfeb8a77 (diff)
Don't attempt to verify certificate of xrc.everyone.net
-rw-r--r--Changes3
-rw-r--r--lib/Net/XRC.pm4
2 files changed, 6 insertions, 1 deletions
diff --git a/Changes b/Changes
index 1264d5b..c8a9857 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
Revision history for Perl extension Net::XRC.
+0.02 Mon Feb 11 14:03:37 PST 2013
+ - Don't attempt to verify certificate of xrc.everyone.net
+
0.01 Sun Aug 7 03:53:08 2005
- original version; created by h2xs 1.23 with options
-X -b 5.5.0 -n Net::XRC -v 0.01
diff --git a/lib/Net/XRC.pm b/lib/Net/XRC.pm
index b37f03d..422dd5c 100644
--- a/lib/Net/XRC.pm
+++ b/lib/Net/XRC.pm
@@ -43,7 +43,8 @@ use Net::XRC::Data::complex;
#
#);
-$VERSION = '0.01';
+$VERSION = '0.02';
+$VERSION = eval $VERSION; # modperlstyle: convert the string into a number
$PROTO_VERSION = '1';
$POST_URL = 'https://xrc.everyone.net/ccc/xrc';
@@ -52,6 +53,7 @@ $DEBUG = 0;
my $ua = LWP::UserAgent->new;
$ua->agent("Net::XRC/$VERSION");
+$ua->ssl_opts( verify_hostname => 0 );
=head1 NAME