From: Ivan Kohler Date: Mon, 11 Feb 2013 22:04:36 +0000 (-0800) Subject: Don't attempt to verify certificate of xrc.everyone.net X-Git-Url: http://git.freeside.biz/gitweb/?p=Net-XRC.git;a=commitdiff_plain;h=1890f91b31ff13176c404c65f9f140c869be9bf7 Don't attempt to verify certificate of xrc.everyone.net --- 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