From: Openkylin Developers <packaging@lists.openkylin.top>
Date: Thu, 22 Sep 2022 02:24:18 +0000
Subject: Fix https test

Forwarded: not-needed
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2016-04-29

fix https test after patch
746579-fix-peer-certificate-verification.patch 
kinda breaks it.
---
 t/https_proxy.t | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/t/https_proxy.t b/t/https_proxy.t
index b36d592..af1e51a 100644
--- a/t/https_proxy.t
+++ b/t/https_proxy.t
@@ -66,7 +66,10 @@ my %ua;
 $ua{noproxy} = LWP::UserAgent->new(
     keep_alive => 10, # size of connection cache
     # server does not know the expected name and returns generic certificate
-    ssl_opts => { verify_hostname => 0 }
+    ssl_opts => {
+        verify_hostname => 0,
+        SSL_ca_file => $cafile,
+    }
 );
 
 $ua{proxy} = LWP::UserAgent->new(
