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 31dc77ae7f merge revision(s) 55047: [Backport #12441]
* ext/openssl/ossl_bn.c (try_convert_to_bnptr): Extracted from
	  GetBNPtr(). This doesn't raise exception but returns NULL on error.
	  (GetBNPtr): Raise TypeError if conversion fails.
	  (ossl_bn_eq): Implement BN#==.
	  (ossl_bn_eql): #eql? should not raise TypeError even if the argument
	  is not compatible with BN.
	  (ossl_bn_hash): Implement BN#hash.

	* ext/openssl/ossl_bn.c (Init_ossl_bn): Define #== and #hash.

	* test/openssl/test_bn.rb: Test BN#eql?, #== and #hash


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-15 19:06:03 +00:00
..
test_asn1.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_bn.rb merge revision(s) 55047: [Backport #12441] 2016-08-15 19:06:03 +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) 55100: [Backport #12292] 2016-08-11 17:58:25 +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