diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-02-11 14:04:36 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-02-11 14:04:36 -0800 |
commit | 1890f91b31ff13176c404c65f9f140c869be9bf7 (patch) | |
tree | abb7a57f76f6fef388c0c72633f4f726dda44ee3 /lib/Net | |
parent | 7cf74de0a6a82bc9777b972bc3e68965bfeb8a77 (diff) |
Don't attempt to verify certificate of xrc.everyone.net
Diffstat (limited to 'lib/Net')
-rw-r--r-- | lib/Net/XRC.pm | 4 |
1 files changed, 3 insertions, 1 deletions
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 |