diff options
author | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-29 15:48:45 +0000 |
---|---|---|
committer | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-29 15:48:45 +0000 |
commit | df769d9dc96e14e2211b7526a3f3e242137581fc (patch) | |
tree | 080d7471097e2720fa024b258928ff1f0169bb9d /test/net/http/utils.rb | |
parent | 7f30d00b53bd5ce680c13f3bcd57e8e29039aaee (diff) |
net/http: don't use OpenSSL::TestUtils from test code
Make test code independent of test/openssl/utils.rb. The development of
openssl library has moved to a separate repository and
OpenSSL::TestUtils may be modified at any time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net/http/utils.rb')
-rw-r--r-- | test/net/http/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/utils.rb b/test/net/http/utils.rb index 8a00615fbe..dbfd112f31 100644 --- a/test/net/http/utils.rb +++ b/test/net/http/utils.rb @@ -61,7 +61,7 @@ module TestNetHTTPUtils :SSLEnable => true, :SSLCertificate => config('ssl_certificate'), :SSLPrivateKey => config('ssl_private_key'), - :SSLTmpDhCallback => proc { OpenSSL::TestUtils::TEST_KEY_DH1024 }, + :SSLTmpDhCallback => config('ssl_tmp_dh_callback'), }) end @server = WEBrick::HTTPServer.new(server_config) |