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_export.h | |
| 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_export.h')
| -rw-r--r-- | proxy/src/gp_export.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proxy/src/gp_export.h b/proxy/src/gp_export.h index 58c0040..03e5d18 100644 --- a/proxy/src/gp_export.h +++ b/proxy/src/gp_export.h @@ -37,7 +37,8 @@ uint32_t gp_import_gssx_cred(uint32_t *min, struct gp_call_ctx *gpcall, gssx_cred *cred, gss_cred_id_t *out); int gp_get_exported_context_type(struct gssx_call_ctx *ctx); -uint32_t gp_export_ctx_id_to_gssx(uint32_t *min, int type, +int gp_get_continue_needed_type(void); +uint32_t gp_export_ctx_id_to_gssx(uint32_t *min, int type, gss_OID mech, gss_ctx_id_t *in, gssx_ctx *out); uint32_t gp_import_gssx_to_ctx_id(uint32_t *min, int type, gssx_ctx *in, gss_ctx_id_t *out); |
