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