[#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:43237] [Ruby 1.9-Bug#4420][Open] OpenSSL::X509::Request#to_der で RequestError ではなく CertificateError が発生する

From: Ippei Obayashi <redmine@...>
Date: 2011-02-21 16:44:06 UTC
List: ruby-dev #43237
Bug #4420: OpenSSL::X509::Request#to_der =E3=81=A7 RequestError =E3=81=A7=
=E3=81=AF=E3=81=AA=E3=81=8F CertificateError =E3=81=8C=E7=99=BA=E7=94=9F=E3=
=81=99=E3=82=8B
http://redmine.ruby-lang.org/issues/show/4420

=E8=B5=B7=E7=A5=A8=E8=80=85: Ippei Obayashi
=E3=82=B9=E3=83=86=E3=83=BC=E3=82=BF=E3=82=B9: Open, =E5=84=AA=E5=85=88=E5=
=BA=A6: Normal
=E3=82=AB=E3=83=86=E3=82=B4=E3=83=AA: ext
ruby -v: ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]

OpenSSL::X509::Request#to_der =E3=81=AE=E5=AE=9F=E4=BD=93(ext/openssl/oss=
l_x509req.c:ossl_x509req_to_der)
=E3=81=A7OpenSSL::X509::CertificateError=E3=82=92=E7=99=BA=E7=94=9F=E3=81=
=95=E3=81=9B=E3=81=A6=E3=81=84=E3=81=BE=E3=81=99=E3=81=8C=E3=80=81=E3=81=93=
=E3=82=8C=E3=81=AF
OpenSSL::X509::RequestError =E3=81=8C=E5=A6=A5=E5=BD=93=E3=81=A7=E3=81=82=
=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E6=80=9D=E3=82=8F=E3=82=8C=E3=81=BE=E3=
=81=99=E3=80=82

=E3=81=93=E3=81=AE=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3=E3=81=99=E3=
=82=8B=E3=83=91=E3=83=83=E3=83=81=E3=82=92=E6=B7=BB=E4=BB=98=E3=81=97=E3=81=
=A6=E3=81=82=E3=82=8A=E3=81=BE=E3=81=99=E3=80=82


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

Attachments (1)

x509req_ossl_x509req_to_der.patch (477 Bytes, text/x-diff)
diff --git a/ext/openssl/ossl_x509req.c b/ext/openssl/ossl_x509req.c
index 368bff2..e72e145 100644
--- a/ext/openssl/ossl_x509req.c
+++ b/ext/openssl/ossl_x509req.c
@@ -171,7 +171,7 @@ ossl_x509req_to_der(VALUE self)
 
     GetX509Req(self, req);
     if ((len = i2d_X509_REQ(req, NULL)) <= 0)
-	ossl_raise(eX509CertError, NULL);
+	ossl_raise(eX509ReqError, NULL);
     str = rb_str_new(0, len);
     p = (unsigned char *)RSTRING_PTR(str);
     if (i2d_X509_REQ(req, &p) <= 0)

In This Thread

Prev Next