1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
rhe b257af8859 openssl: adjust tests for OpenSSL 1.1.0
This fixes `make test-all TESTS=openssl` with OpenSSL master.

* test/openssl/test_x509name.rb: Don't register OID for 'emailAddress'
  and 'serialNumber'. A recent change in OpenSSL made OBJ_create()
  reject an already existing OID. They were needed to run tests with
  OpenSSL 0.9.6 which is now unsupported.
  https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=52832e470f5fe8c222249ae5b539aeb3c74cdb25
  [ruby-core:75225] [Feature #12324]

* test/openssl/test_ssl_session.rb (test_server_session): Duplicate
  SSL::Session before re-adding to the session store. OpenSSL 1.1.0
  starts rejecting SSL_SESSION once removed by SSL_CTX_remove_session().
  https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=7c2d4fee2547650102cd16d23f8125b76112ae75

* test/openssl/test_pkey_ec.rb (setup): Remove X25519 from @keys. X25519
  is new in OpenSSL 1.1.0 but this is for key agreement and not for
  signing.

* test/openssl/test_pair.rb, test/openssl/test_ssl.rb,
  test/openssl/utils.rb: Set security level to 0 when using aNULL cipher
  suites.

* test/openssl/utils.rb: Use 1024 bits DSA key for client certificates.

* test/openssl/test_engine.rb: Run each test in separate process.
  We can no longer cleanup engines explicitly as ENGINE_cleanup() was
  removed.
  https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=6d4fb1d59e61aacefa25edc4fe5acfe1ac93f743

* ext/openssl/ossl_engine.c (ossl_engine_s_cleanup): Add a note to the
  RDoc for Engine.cleanup.

* ext/openssl/lib/openssl/digest.rb: Don't define constants for DSS,
  DSS1 and SHA(-0) when using with OpenSSL 1.1.0. They are removed.

* test/openssl/test_digest.rb, test/openssl/test_pkey_dsa.rb,
  test/openssl/test_pkey_dsa.rb, test/openssl/test_ssl.rb,
  test/openssl/test_x509cert.rb, test/openssl/test_x509req.rb: Don't
  test unsupported hash functions.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-07 12:20:46 +00:00
..
-ext- string.c: return reallocated pointer 2016-05-30 07:20:28 +00:00
base64
benchmark
bigdecimal bigdecimal.c: fix FloatDomainError 2016-05-23 03:30:30 +00:00
cgi cgi/util.rb: remove CGI::Util#_unescape 2016-04-20 08:33:33 +00:00
coverage test_coverage.rb: suppress warnings 2016-04-11 05:13:31 +00:00
csv Use Integer instead of Fixnum and Bignum. 2016-05-17 13:15:57 +00:00
date Use Integer instead of Fixnum and Bignum. 2016-05-17 13:15:57 +00:00
dbm update comments. 2016-05-01 12:50:19 +00:00
digest
drb openssl: adapt OpenSSL::PKey to OpenSSL 1.1.0 opaque structs 2016-06-05 15:00:47 +00:00
dtrace
erb
etc
excludes TestException.rb: suppress warning 2016-04-11 08:27:19 +00:00
fiddle * test_handle.rb: refine test_fallback_to_ansi 2016-05-16 06:26:56 +00:00
fileutils
gdbm update comments. 2016-05-01 12:50:19 +00:00
io io/console: unknown key code for names with nul 2016-04-15 01:07:14 +00:00
irb
json Use Integer instead of Fixnum and Bignum. 2016-05-17 13:15:57 +00:00
lib -test-/integer 2016-05-22 07:27:02 +00:00
logger * test/logger/test_logdevice.rb (TestLogDevice#test_shifting_period_suffix): 2016-05-01 14:56:45 +00:00
matrix
minitest Use Integer instead of Fixnum and Bignum. 2016-05-17 13:15:57 +00:00
misc
mkmf mkmf: Unquote directory strings 2016-03-24 16:10:43 +00:00
monitor
net * lib/net/http/header.rb (Net::HTTPHeader#{each_header,each_name, 2016-05-04 09:46:46 +00:00
nkf
objspace
open-uri * lib/open-uri.rb: Use userinfo for authenticated proxy. 2016-03-30 00:46:05 +00:00
openssl openssl: adjust tests for OpenSSL 1.1.0 2016-06-07 12:20:46 +00:00
optparse optparse.rb: fix char class option 2016-05-31 08:28:48 +00:00
ostruct
pathname
psych
rdoc
readline
resolv
rexml Use Integer instead of Fixnum and Bignum. 2016-05-17 13:15:57 +00:00
rinda Sat Mar 5 09:17:54 2016 Rei Odaira <Rei.Odaira@gmail.com> 2016-03-05 00:29:39 +00:00
ripper
rss
ruby test_syntax.rb: formal argument name tests 2016-06-07 08:57:36 +00:00
rubygems openssl: adapt OpenSSL::PKey to OpenSSL 1.1.0 opaque structs 2016-06-05 15:00:47 +00:00
scanf
sdbm update comments. 2016-05-01 12:50:19 +00:00
shell
socket * ext/socket/raddrinfo.c (host_str, port_str): Use StringValueCStr 2016-05-30 15:33:06 +00:00
stringio stringio.c: warn block for new 2016-04-27 06:47:56 +00:00
strscan
syslog
testunit assertions.rb: leave timeout to invoke_ruby 2016-05-19 03:46:20 +00:00
thread Use Integer instead of Fixnum and Bignum. 2016-05-17 13:15:57 +00:00
uri
webrick webrick/utils.rb: suppress messages 2016-05-09 00:05:32 +00:00
win32ole test/win32ole/test_win32ole_variant.rb: use other than Integer 2016-05-18 02:05:30 +00:00
zlib * test/zlib/test_zlib.rb (test_adler32_combine, test_crc32_combine): 2016-03-04 22:20:56 +00:00
colors
runner.rb
test_abbrev.rb
test_cmath.rb
test_delegate.rb
test_find.rb
test_forwardable.rb
test_ipaddr.rb
test_mathn.rb
test_mutex_m.rb
test_observer.rb
test_open3.rb
test_pp.rb
test_prettyprint.rb
test_prime.rb
test_pstore.rb
test_pty.rb
test_rbconfig.rb
test_securerandom.rb random.c: use bytes 2016-05-10 05:57:11 +00:00
test_set.rb * lib/set.rb (Set#{delete_if,keep_if,collect!,reject!,select!,classify,divide}, 2016-05-04 09:06:59 +00:00
test_shellwords.rb
test_singleton.rb
test_syslog.rb
test_tempfile.rb
test_time.rb * lib/time.rb: revert r54167 because it would break 2016-04-19 04:20:48 +00:00
test_timeout.rb
test_tmpdir.rb
test_tracer.rb
test_tsort.rb
test_unicode_normalize.rb * test/test_unicode_normalize.rb: Add test to check for availability of 2016-05-28 11:34:20 +00:00
test_weakref.rb
test_win32api.rb