[前][次][番号順一覧][スレッド一覧]

ruby-changes:34407

From: naruse <ko1@a...>
Date: Sun, 22 Jun 2014 09:21:42 +0900 (JST)
Subject: [ruby-changes:34407] naruse:r46488 (trunk): suppress warnings: using default DH parameters.

naruse	2014-06-22 09:21:37 +0900 (Sun, 22 Jun 2014)

  New Revision: 46488

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46488

  Log:
    suppress warnings: using default DH parameters.

  Modified files:
    trunk/test/open-uri/test_ssl.rb
Index: test/open-uri/test_ssl.rb
===================================================================
--- test/open-uri/test_ssl.rb	(revision 46487)
+++ test/open-uri/test_ssl.rb	(revision 46488)
@@ -5,6 +5,7 @@ require 'webrick' https://github.com/ruby/ruby/blob/trunk/test/open-uri/test_ssl.rb#L5
 begin
   require 'openssl'
   require 'webrick/https'
+  require_relative '../openssl/utils'
 rescue LoadError
 end
 require 'webrick/httpproxy'
@@ -27,6 +28,7 @@ class TestOpenURISSL https://github.com/ruby/ruby/blob/trunk/test/open-uri/test_ssl.rb#L28
         :SSLEnable => true,
         :SSLCertificate => OpenSSL::X509::Certificate.new(SERVER_CERT),
         :SSLPrivateKey => OpenSSL::PKey::RSA.new(SERVER_KEY),
+        :SSLTmpDhCallback => proc { OpenSSL::TestUtils::TEST_KEY_DH1024 },
         :BindAddress => '127.0.0.1',
         :Port => 0})
       _, port, _, host = srv.listeners[0].addr

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]