summaryrefslogtreecommitdiffstats
path: root/proxy/src
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/src')
-rw-r--r--proxy/src/mechglue/gpp_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy/src/mechglue/gpp_context.c b/proxy/src/mechglue/gpp_context.c
index b5c8cfc..19a7925 100644
--- a/proxy/src/mechglue/gpp_context.c
+++ b/proxy/src/mechglue/gpp_context.c
@@ -106,7 +106,7 @@ OM_uint32 gssi_import_sec_context_by_mech(OM_uint32 *minor_status,
goto done;
}
- len = htobe32(wrap_token.length);
+ len = htobe32(spmech->length);
memcpy(wrap_token.value, &len, sizeof(uint32_t));
memcpy(wrap_token.value + sizeof(uint32_t),
spmech->elements, spmech->length);