summaryrefslogtreecommitdiffstats
path: root/proxy/src/mechglue/gpp_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/src/mechglue/gpp_context.c')
-rw-r--r--proxy/src/mechglue/gpp_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proxy/src/mechglue/gpp_context.c b/proxy/src/mechglue/gpp_context.c
index 90dc897..448c3e0 100644
--- a/proxy/src/mechglue/gpp_context.c
+++ b/proxy/src/mechglue/gpp_context.c
@@ -320,8 +320,8 @@ OM_uint32 gssi_set_sec_context_option(OM_uint32 *minor_status,
GSSI_TRACE();
- if (context_handle) {
- ctx = (struct gpp_context_handle *)context_handle;
+ if (*context_handle) {
+ ctx = (struct gpp_context_handle *)(*context_handle);
} else {
ctx = calloc(1, sizeof(struct gpp_context_handle));
if (!ctx) {