[#43186] [Ruby 1.9-Bug#4388][Open] open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません — あつし よしだ <redmine@...>

Bug #4388: open-uri=E3=81=A7=E7=92=B0=E5=A2=83=E5=A4=89=E6=95=B0http_prox=

11 messages 2011/02/10
[#43192] [Ruby 1.9-Bug#4388] open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません — あつし よしだ <redmine@...> 2011/02/11

チケット #4388 が更新されました。 (by あつし よしだ)

[#43193] Re: [Ruby 1.9-Bug#4388] open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません — Tanaka Akira <akr@...> 2011/02/11

2011年2月11日12:59 あつし よしだ <redmine@ruby-lang.org>:

[#43203] [Ruby 1.9-Bug#4397][Open] test-mkmf fails due to compilation errors — Shyouhei Urabe <redmine@...>

Bug #4397: test-mkmf fails due to compilation errors

10 messages 2011/02/14

[#43272] [Ruby 1.9 - Bug #4443] [Open] odd evaluation order in a multiple assignment — Yusuke Endoh <mame@...>

13 messages 2011/02/24

[#43274] [Ruby 1.9 - Bug #4445] [Open] ext/openssl の verify_callback が rb_protect で保護されていない — Ippei Obayashi <ohai@...>

13 messages 2011/02/24

[#43276] iseq_compile_each()でのマジックナンバ — きたざわけんいち <peisunstar@...>

きたざわです。

15 messages 2011/02/27
[#43303] Re: iseq_compile_each()でのマジックナンバ — nagachika <nagachika00@...> 2011/03/04

近永と申します。

[#43304] Re: iseq_compile_each()でのマジックナンバ — Yusuke ENDOH <mame@...> 2011/03/04

遠藤です。

[ruby-dev:43239] [Ruby 1.9-Bug#4418] OpenSSL::PKey::DH#public_key

From: Martin Bosslet <redmine@...>
Date: 2011-02-21 23:46:05 UTC
List: ruby-dev #43239
=E3=83=81=E3=82=B1=E3=83=83=E3=83=88 #4418 =E3=81=8C=E6=9B=B4=E6=96=B0=E3=
=81=95=E3=82=8C=E3=81=BE=E3=81=97=E3=81=9F=E3=80=82 (by Martin Bosslet)

=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB fix_dh_dup.tar.gz =E8=BF=BD=E5=8A=A0=


Hi,

I had been doing some work in this area, so I looked into this. The probl=
em =

is that DH parameters are duplicated, but this only duplicates the genera=
tor
g and the prime p, but not the public key, which can be derived from g an=
d p.

The easiest way to fix this is to simply dup the existing value and assig=
n it
to the dup'ed DH instance.

Patch and test are attached.

Regards,
Martin
----------------------------------------
http://redmine.ruby-lang.org/issues/show/4418

----------------------------------------
http://redmine.ruby-lang.org

Attachments (1)

fix_dh_dup.tar.gz (633 Bytes, Archive)

In This Thread