diff options
author | Simo Sorce <simo@redhat.com> | 2013-11-15 10:33:52 -0500 |
---|---|---|
committer | Günther Deschner <gdeschner@redhat.com> | 2013-11-19 14:34:47 +0100 |
commit | 556ea844a5783f9876ee748e1c686bb268f54e8a (patch) | |
tree | e21df0795873b1f5a77b6e82bc4d8d69dee99ee2 /proxy/src/gp_rpc_wrap.c | |
parent | b8901d1d20a5d0ef1a3118bfe5816e04c09e6cf5 (diff) | |
download | gss-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_wrap.c')
-rw-r--r-- | proxy/src/gp_rpc_wrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy/src/gp_rpc_wrap.c b/proxy/src/gp_rpc_wrap.c index d17c292..c2da7ba 100644 --- a/proxy/src/gp_rpc_wrap.c +++ b/proxy/src/gp_rpc_wrap.c @@ -85,7 +85,7 @@ int gp_wrap(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, wr->context_handle); if (ret_maj) { goto done; |