--- orig/ruby-1.9.1-p243/ext/openssl/ossl_x509store.c 2009-06-22 17:05:17.000000000 -0400 +++ ruby-1.9.1-p243/ext/openssl/ossl_x509store.c 2009-06-22 17:05:45.000000000 -0400 @@ -130,6 +130,7 @@ /* 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);