1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/openssl
nagachika 93bceb14a4 merge revision(s) 55074: [Backport #12868]
* ext/openssl/ossl.c (Init_openssl): register an ex_data index for
	  X509_STORE and X509_STORE_CTX respectively. Since they don't share
	  the ex_data index registry, we can't use the same index.
	  (ossl_verify_cb): use the the correct index.

	* ext/openssl/ossl_ssl.c (ossl_ssl_verify_callback): ditto.

	* ext/openssl/ossl_x509store.c (ossl_x509store_set_vfy_cb): ditto.
	  (ossl_x509stctx_verify): ditto.

	* ext/openssl/ossl.h (void ossl_clear_error): add extern declarations
	  of ossl_store_{ctx_,}ex_verify_cb_idx.

	* ext/openssl/openssl_missing.c: remove X509_STORE_set_ex_data and
	  X509_STORE_get_ex_data.

	* ext/openssl/openssl_missing.h: implement X509_STORE_get_ex_data,
	  X509_STORE_set_ex_data and X509_STORE_get_ex_new_index as macros.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 02:48:35 +00:00
..
lib merge revision(s) 55100: [Backport #12292] 2016-08-11 17:58:25 +00:00
depend Update dependencies. 2014-12-19 13:34:54 +00:00
deprecation.rb handle ext/ as r53141 2015-12-16 05:31:54 +00:00
extconf.rb merge revision(s) 54258: [Backport #12182] 2016-04-12 05:29:12 +00:00
openssl_missing.c merge revision(s) 55074: [Backport #12868] 2016-11-05 02:48:35 +00:00
openssl_missing.h merge revision(s) 55074: [Backport #12868] 2016-11-05 02:48:35 +00:00
ossl.c merge revision(s) 55074: [Backport #12868] 2016-11-05 02:48:35 +00:00
ossl.h merge revision(s) 55074: [Backport #12868] 2016-11-05 02:48:35 +00:00
ossl_asn1.c * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_asn1.h * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_bio.c prefer rb_syserr_fail 2015-12-23 08:57:48 +00:00
ossl_bio.h * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_bn.c merge revision(s) 55047: [Backport #12441] 2016-08-15 19:06:03 +00:00
ossl_bn.h * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_cipher.c * ext/**/*.c (*_memsize): same as r52986 for extensions. 2015-12-09 01:01:17 +00:00
ossl_cipher.h * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_config.c backport fix memory leak from upstream. 2016-08-26 18:48:55 +00:00
ossl_config.h backport fix memory leak from upstream. 2016-08-26 18:48:55 +00:00
ossl_digest.c * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_digest.h * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_engine.c * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_engine.h * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_hmac.c * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_hmac.h * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_ns_spki.c * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_ns_spki.h * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_ocsp.c backport fix memory leak from upstream. 2016-08-26 18:48:55 +00:00
ossl_ocsp.h * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_pkcs5.c * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_pkcs5.h
ossl_pkcs7.c backport fix memory leak from upstream. 2016-08-26 18:48:55 +00:00
ossl_pkcs7.h * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_pkcs12.c merge revision(s) 55057: 2016-09-26 14:41:15 +00:00
ossl_pkcs12.h * ext/openssl/ossl_pkcs12*: Remove svn commit id macro 2015-09-23 13:23:02 +00:00
ossl_pkey.c Commit miss from r52556 2015-11-13 05:03:55 +00:00
ossl_pkey.h * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_pkey_dh.c merge revision(s) 55175: [Backport #12428] 2016-08-15 18:49:32 +00:00
ossl_pkey_dsa.c merge revision(s) 55175: [Backport #12428] 2016-08-15 18:49:32 +00:00
ossl_pkey_ec.c backport fix memory leak from upstream. 2016-08-26 18:48:55 +00:00
ossl_pkey_rsa.c merge revision(s) 55175: [Backport #12428] 2016-08-15 18:49:32 +00:00
ossl_rand.c * ext/openssl/ossl_rand.c (ossl_rand_bytes): RAND_bytes could 2015-11-30 20:29:02 +00:00
ossl_rand.h * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_ssl.c merge revision(s) 55074: [Backport #12868] 2016-11-05 02:48:35 +00:00
ossl_ssl.h ext/openssl/ossl_ssl.c: hide globals 2015-12-01 22:49:05 +00:00
ossl_ssl_session.c * ext/openssl/ossl.h: avoid to build failure of Windows environment. 2015-01-03 02:50:31 +00:00
ossl_version.h * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_x509.c * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_x509.h backport fix memory leak from upstream. 2016-08-26 18:48:55 +00:00
ossl_x509attr.c backport fix memory leak from upstream. 2016-08-26 18:48:55 +00:00
ossl_x509cert.c ext: use RARRAY_AREF 2015-11-05 01:09:17 +00:00
ossl_x509crl.c backport fix memory leak from upstream. 2016-08-26 18:48:55 +00:00
ossl_x509ext.c backport additional fix memory leak from openssl upstream. 2016-08-29 20:36:38 +00:00
ossl_x509name.c * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00
ossl_x509req.c backport fix memory leak from upstream. 2016-08-26 18:48:55 +00:00
ossl_x509revoked.c backport fix memory leak from upstream. 2016-08-26 18:48:55 +00:00
ossl_x509store.c merge revision(s) 55074: [Backport #12868] 2016-11-05 02:48:35 +00:00
ruby_missing.h * ext/openssl/*: Remove svn commit id macros to make sync easier 2015-09-22 16:12:15 +00:00