aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl.h
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-04-27 15:13:12 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-04-27 23:07:42 +0900
commit28668bc5743897e403ecd688fad25ceebd8b5f3f (patch)
treea407c01779583039dde0996928b4a9923ece0a26 /ext/openssl/ossl.h
parentd5936ea2f7c4192d4f6ae9e1dda14b0276504811 (diff)
downloadruby-28668bc5743897e403ecd688fad25ceebd8b5f3f.tar.gz
ext/openssl: fix ex_data handling for X509_STORE
X509_STORE_get_ex_new_index() is required in addition to X509_STORE_CTX_get_ex_new_index() because they are independent.
Diffstat (limited to 'ext/openssl/ossl.h')
-rw-r--r--ext/openssl/ossl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h
index b40b214987..8c5802ad19 100644
--- a/ext/openssl/ossl.h
+++ b/ext/openssl/ossl.h
@@ -148,7 +148,8 @@ VALUE ossl_exc_new(VALUE, const char *, ...);
/*
* Verify callback
*/
-extern int ossl_verify_cb_idx;
+extern int ossl_store_ctx_ex_verify_cb_idx;
+extern int ossl_store_ex_verify_cb_idx;
struct ossl_verify_cb_args {
VALUE proc;