File: workaround_persistent_ssl_reuse_failing_test.patch

package info (click to toggle)
ruby-net-http-persistent 2.7-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 224 kB
  • sloc: ruby: 1,543; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 560 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix FTBFS with OpenSSL 1.0.1
 Using a key stricly greater than 745.
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665255
Bug: https://github.com/drbrain/net-http-persistent/issues/25
Origin: vendor

--- a/test/test_net_http_persistent_ssl_reuse.rb
+++ b/test/test_net_http_persistent_ssl_reuse.rb
@@ -21,7 +21,7 @@
   def setup
     @name = OpenSSL::X509::Name.parse 'CN=localhost'
 
-    @key = OpenSSL::PKey::RSA.new 512
+    @key = OpenSSL::PKey::RSA.new 1024
 
     @cert = OpenSSL::X509::Certificate.new
     @cert.version = 2