1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/openssl
nagachika ac521b96b6 merge revision(s) 55078:
openssl: don't test default session lifetime value

	OpenSSL's default session timeout for TLS v1.0 method is not 300 seconds
	but 7200. The TLS v1.0 specification[1] mentions about it as just "An
	upper limit of 24 hours is suggested for session ID lifetimes,". And
	according to OpenSSL 1.0.2h source comment[2], the value 7200 is decided
	just because "the 24 hours mentioned in the TLSv1 spec is way too long
	for http, the cache would over fill".

	The reason why the default lifetime is set to 300 is maybe an OpenSSL
	bug. We always call SSL_CTX_new() with SSLv23_method(), and this set
	ssl_ctx->session to 300, the default value for SSLv23_method(). But the
	following SSL_set_ssl_method() call does not update it. By the way this
	will be fixed in OpenSSL 1.1.0.

	[1] https://tools.ietf.org/html/rfc2246#appendix-F.1.4
	[2] https://git.openssl.org/?p=openssl.git;a=blob;f=ssl/t1_lib.c;h=dd5bd0050d89f5585c1b06a227eb8221ebf984f1;hb=5dd94f1847c744929a3bd24819f1c99644bb18c7#l193

	* test/openssl/test_ssl_session.rb (test_session): remove assertion of
  the default session timeout.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-20 17:36:26 +00:00
..
test_asn1.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_bn.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_buffering.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_cipher.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_config.rb merge revision(s) 53299: [Backport #11870] 2016-03-29 04:49:00 +00:00
test_digest.rb merge revision(s) 53718: [Backport #12320] 2016-05-03 17:57:57 +00:00
test_engine.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_fips.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_hmac.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_ns_spki.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_ocsp.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_pair.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_partial_record_read.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_pkcs5.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_pkcs7.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_pkcs12.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_pkey_dh.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_pkey_dsa.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_pkey_ec.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_pkey_rsa.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_random.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_ssl.rb merge revision(s) 54258: [Backport #12182] 2016-04-12 05:29:12 +00:00
test_ssl_session.rb merge revision(s) 55078: 2016-05-20 17:36:26 +00:00
test_x509cert.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_x509crl.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_x509ext.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_x509name.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_x509req.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_x509store.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
utils.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00