diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-26 14:01:24 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-26 14:01:24 +0000 |
commit | 1ab5d3947c76cbd3aceb055a2d5c0a970b64ac63 (patch) | |
tree | 3bdcdf5b2bf18cc4fdd745884b1b47afdbc586d7 | |
parent | 4685b6d9c848b6627323e4356c95a8c965d94c50 (diff) |
* ext/openssl/ossl_x509store.c (ossl_x509store_initialize): initialize
store->ex_data.sk. [ruby-core:28907] [ruby-core:23971]
[ruby-core:18121]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/openssl/ossl_x509store.c | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Fri Mar 26 22:58:10 2010 Yusuke Endoh <mame@tsg.ne.jp> + + * ext/openssl/ossl_x509store.c (ossl_x509store_initialize): initialize + store->ex_data.sk. [ruby-core:28907] [ruby-core:23971] + [ruby-core:18121] + Fri Mar 26 19:55:41 2010 Akinori MUSHA <knu@iDaemons.org> * Makefile.in (DOXYGEN): Define a missing variable DOXYGEN. Build diff --git a/ext/openssl/ossl_x509store.c b/ext/openssl/ossl_x509store.c index 23fb952305..e9923c0475 100644 --- a/ext/openssl/ossl_x509store.c +++ b/ext/openssl/ossl_x509store.c @@ -130,6 +130,7 @@ ossl_x509store_initialize(int argc, VALUE *argv, VALUE self) /* BUG: This method takes any number of arguments but appears to ignore them. */ GetX509Store(self, store); + store->ex_data.sk = NULL; X509_STORE_set_verify_cb_func(store, ossl_verify_cb); ossl_x509store_set_vfy_cb(self, Qnil); |