1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 20120517-r35434.patch by James Healy <jimmy@deefa.com>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: The test suites for ruby 1.9.3p125 and 1.9.3p194 fails to
6
## DP: complete when built against openssl 1.0.1. The issue was
7
## DP: fixed on trunk in revision 35434, this backports the fix
8
## DP: into the debian package.
9
## DP: TODO: remove this patch when 1.9.3p194+1 is available
12
Index: ruby1.9.1/lib/drb/ssl.rb
13
===================================================================
14
--- ruby1.9.1.orig/lib/drb/ssl.rb 2012-05-17 15:28:27.000000000 +1000
15
+++ ruby1.9.1/lib/drb/ssl.rb 2012-05-17 15:28:27.000000000 +1000
20
- rsa = OpenSSL::PKey::RSA.new(512){|p, n|
21
+ rsa = OpenSSL::PKey::RSA.new(1024){|p, n|
22
next unless self[:verbose]
24
when 0; $stderr.putc "." # BN_generate_prime