From 1890f91b31ff13176c404c65f9f140c869be9bf7 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 11 Feb 2013 14:04:36 -0800 Subject: [PATCH] Don't attempt to verify certificate of xrc.everyone.net --- Changes | 3 +++ lib/Net/XRC.pm | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.11.0