ruby/ext/openssl
usa a1af71552f 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_2@55937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16 11:55:03 +00:00
..
lib merge revision(s) 51409,51453: [Backport #10910] 2015-08-12 15:16:42 +00:00
depend Update dependencies. 2014-12-19 13:34:54 +00:00
deprecation.rb * ext/openssl/deprecation.rb (OpenSSL.check_func): check if header is 2012-05-01 05:18:02 +00:00
extconf.rb merge revision(s) 49576: [Backport #12288] 2016-04-22 07:37:36 +00:00
openssl_missing.c * file.c, ext/etc/etc.c, ext/socket/unixsocket.c, 2013-05-09 12:12:17 +00:00
openssl_missing.h * ext/openssl/extconf.rb 2011-06-26 01:32:03 +00:00
ossl.c protoize no-arguments functions 2014-09-30 05:25:32 +00:00
ossl.h openssl/ossl.h: calculate as long 2014-01-13 00:57:42 +00:00
ossl_asn1.c merge revision(s) 50646: [Backport #11185] 2015-06-11 16:38:12 +00:00
ossl_asn1.h * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:04:13 +00:00
ossl_bio.c ext: prefer RB_TYPE_P over comparison TYPE with constants 2014-08-03 01:56:01 +00:00
ossl_bio.h
ossl_bn.c merge revision(s) 55047: [Backport #12441] 2016-08-16 11:55:03 +00:00
ossl_bn.h
ossl_cipher.c ossl_cipher.c: workaround of OpenSSL API 2014-12-23 02:42:16 +00:00
ossl_cipher.h
ossl_config.c protoize no-arguments functions 2014-09-30 05:25:32 +00:00
ossl_config.h
ossl_digest.c ossl_digest.c: typed data 2014-12-12 21:57:44 +00:00
ossl_digest.h
ossl_engine.c ossl_engine.c: typed data 2014-12-12 21:57:49 +00:00
ossl_engine.h
ossl_hmac.c ossl_hmac.c: typed data 2014-12-12 21:57:56 +00:00
ossl_hmac.h
ossl_ns_spki.c ossl_ns_spki.c: typed data 2014-12-12 21:58:03 +00:00
ossl_ns_spki.h
ossl_ocsp.c ossl_ocsp.c: typed data 2014-12-12 21:58:22 +00:00
ossl_ocsp.h
ossl_pkcs5.c protoize no-arguments functions 2014-09-30 05:25:32 +00:00
ossl_pkcs5.h
ossl_pkcs7.c ossl_pkcs7.c: typed data 2014-12-12 22:38:01 +00:00
ossl_pkcs7.h
ossl_pkcs12.c ossl_pkcs12.c: typed data 2014-12-12 22:37:53 +00:00
ossl_pkcs12.h
ossl_pkey.c merge revision(s) 52556,52557: [Backport #10735] 2015-11-18 15:37:52 +00:00
ossl_pkey.h ossl_pkey.c: typed data 2014-12-12 23:19:07 +00:00
ossl_pkey_dh.c merge revision(s) 55175: [Backport #12428] 2016-08-16 11:33:35 +00:00
ossl_pkey_dsa.c merge revision(s) 55175: [Backport #12428] 2016-08-16 11:33:35 +00:00
ossl_pkey_ec.c ossl_pkey_ec.c: typed data 2014-12-12 23:19:24 +00:00
ossl_pkey_rsa.c merge revision(s) 55175: [Backport #12428] 2016-08-16 11:33:35 +00:00
ossl_rand.c merge revision(s) 49576: [Backport #12288] 2016-04-22 07:37:36 +00:00
ossl_rand.h
ossl_ssl.c merge revision(s) 54258: [Backport #12182] 2016-03-29 20:36:59 +00:00
ossl_ssl.h ossl_ssl.c: typed data 2014-12-12 21:58:34 +00:00
ossl_ssl_session.c ossl_ssl_session.c: typed data 2014-12-12 21:58:25 +00:00
ossl_version.h
ossl_x509.c protoize no-arguments functions 2014-09-30 05:25:32 +00:00
ossl_x509.h
ossl_x509attr.c ossl_x509attr.c: typed data 2014-12-12 23:38:44 +00:00
ossl_x509cert.c ossl_x509cert.c: typed data 2014-12-12 23:38:55 +00:00
ossl_x509crl.c ossl_x509crl.c: typed data 2014-12-12 23:39:04 +00:00
ossl_x509ext.c ossl_x509ext.c: typed data 2014-12-12 23:46:42 +00:00
ossl_x509name.c ossl_x509name.c: typed data 2014-12-12 23:59:19 +00:00
ossl_x509req.c ossl_x509req.c: typed data 2014-12-12 23:59:28 +00:00
ossl_x509revoked.c ossl_x509revoked.c: typed data 2014-12-12 23:59:36 +00:00
ossl_x509store.c ossl_x509store.c: typed data 2014-12-13 00:06:54 +00:00
ruby_missing.h * ext/openssl/extconf.rb: remove checks for available functions. 2011-11-26 01:49:36 +00:00