From c9574a66de20fb143e5d4f4f432f7ae4755c4c03 Mon Sep 17 00:00:00 2001 From: Marcel Poul Date: Tue, 12 Jun 2012 14:53:05 +0000 Subject: [PATCH] use the address of context instead of context itself --- emi.canl.canl-c/src/canl_ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emi.canl.canl-c/src/canl_ssl.c b/emi.canl.canl-c/src/canl_ssl.c index 4869886..2143338 100644 --- a/emi.canl.canl-c/src/canl_ssl.c +++ b/emi.canl.canl-c/src/canl_ssl.c @@ -249,7 +249,7 @@ set_ocsp_store(canl_x509store_t *store) static canl_err_code ssl_initialize(glb_ctx *cc) { - mech_glb_ctx **m_glb_ctx = (mech_glb_ctx **)cc->mech_ctx; + mech_glb_ctx **m_glb_ctx = (mech_glb_ctx **) &cc->mech_ctx; int err = 0; char *ca_cert_fn, *user_cert_fn, *user_key_fn, *user_proxy_fn; char *ca_cert_dirn = NULL; -- 1.8.2.3