From 1f19166dc41c979fb7336d1f365c4b2c7a4764f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 15 Sep 2016 08:45:08 +0200 Subject: [PATCH] Do not disable host name verification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch stops disabling LWP SSL host name verification. CPAN RT#117852 Signed-off-by: Petr Písař --- lib/Captcha/reCAPTCHA.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/Captcha/reCAPTCHA.pm b/lib/Captcha/reCAPTCHA.pm index 3169295..7229538 100644 --- a/lib/Captcha/reCAPTCHA.pm +++ b/lib/Captcha/reCAPTCHA.pm @@ -431,9 +431,6 @@ sub check_answer_v2 { croak "To check answer, the user response token must be provided" unless $response; - # For sites that don't use SSL - $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0; - my $request = { secret => $privkey, response => $response, -- 2.7.4