summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_rpc_unwrap.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-11-15 10:33:52 -0500
committerGünther Deschner <gdeschner@redhat.com>2013-11-19 14:34:47 +0100
commit556ea844a5783f9876ee748e1c686bb268f54e8a (patch)
treee21df0795873b1f5a77b6e82bc4d8d69dee99ee2 /proxy/src/gp_rpc_unwrap.c
parentb8901d1d20a5d0ef1a3118bfe5816e04c09e6cf5 (diff)
downloadgss-proxy-556ea844a5783f9876ee748e1c686bb268f54e8a.tar.gz
gss-proxy-556ea844a5783f9876ee748e1c686bb268f54e8a.tar.xz
gss-proxy-556ea844a5783f9876ee748e1c686bb268f54e8a.zip
Fix continuations in context establishment calls
Properly support continuations, including returning the rigth error code and exporting partial contexts. Fixes multistep authentications in particular for the initialization case which always uses continuations. Resolves: https://fedorahosted.org/gss-proxy/ticket/108 Reviewed-by: Günther Deschner <gdeschner@redhat.com>
Diffstat (limited to 'proxy/src/gp_rpc_unwrap.c')
-rw-r--r--proxy/src/gp_rpc_unwrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy/src/gp_rpc_unwrap.c b/proxy/src/gp_rpc_unwrap.c
index a20b8ea..faffa82 100644
--- a/proxy/src/gp_rpc_unwrap.c
+++ b/proxy/src/gp_rpc_unwrap.c
@@ -85,7 +85,7 @@ int gp_unwrap(struct gp_call_ctx *gpcall,
goto done;
}
- ret_maj = gp_export_ctx_id_to_gssx(&ret_min, exp_ctx_type,
+ ret_maj = gp_export_ctx_id_to_gssx(&ret_min, exp_ctx_type, GSS_C_NO_OID,
&context_handle,
uwr->context_handle);
if (ret_maj) {