aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2017-08-14 01:21:31 +0900
committerKazuki Yamaguchi <k@rhe.jp>2017-08-24 21:01:09 +0900
commitc24c56b84abb068f1aeda7ee7acb216ecf3fa335 (patch)
tree1db625553e9a6d67d680f98c495cc8b031ef787b /test
parent9e2b5dc78a4e123425b4ff5eb30e64dd37ad9fb8 (diff)
downloadruby-openssl-c24c56b84abb068f1aeda7ee7acb216ecf3fa335.tar.gz
test/utils: do not use DSA certificates in SSL tests
LibreSSL 2.6.1 removed DSA support from its SSL code. Also, TLS 1.3 will not support DSA certificates. Use an RSA certificate as the client certificate in the tests, too.
Diffstat (limited to 'test')
-rw-r--r--test/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils.rb b/test/utils.rb
index b6cca79e..4331d8bd 100644
--- a/test/utils.rb
+++ b/test/utils.rb
@@ -164,7 +164,7 @@ class OpenSSL::SSLTestCase < OpenSSL::TestCase
super
@ca_key = Fixtures.pkey("rsa2048")
@svr_key = Fixtures.pkey("rsa1024")
- @cli_key = Fixtures.pkey("dsa1024")
+ @cli_key = Fixtures.pkey("rsa2048")
@ca = OpenSSL::X509::Name.parse("/DC=org/DC=ruby-lang/CN=CA")
@svr = OpenSSL::X509::Name.parse("/DC=org/DC=ruby-lang/CN=localhost")
@cli = OpenSSL::X509::Name.parse("/DC=org/DC=ruby-lang/CN=localhost")