File: fix-https-test

package info (click to toggle)
liblwp-protocol-https-perl 6.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 324 kB
  • sloc: perl: 568; makefile: 4
file content (23 lines) | stat: -rw-r--r-- 645 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Fix https test
 fix https test after patch
 746579-fix-peer-certificate-verification.patch 
 kinda breaks it.
Forwarded: not-needed
Author: dod after carnil
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2016-04-29

--- a/t/https_proxy.t
+++ b/t/https_proxy.t
@@ -66,7 +66,10 @@
 $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(