diff options
| author | Günther Deschner <gdeschner@redhat.com> | 2012-06-18 13:54:36 +0200 |
|---|---|---|
| committer | Simo Sorce <simo@redhat.com> | 2012-06-25 17:00:45 -0400 |
| commit | 2c1530def138a8a1caaf82d31b93994090406e80 (patch) | |
| tree | c934caa0b1afe0b6f5070ce077520b79b6ec4eef /proxy/src/gp_export.c | |
| parent | 594f96fb6c612fb60da72f84615b1406f2be01e9 (diff) | |
| download | gss-proxy-2c1530def138a8a1caaf82d31b93994090406e80.tar.gz gss-proxy-2c1530def138a8a1caaf82d31b93994090406e80.tar.xz gss-proxy-2c1530def138a8a1caaf82d31b93994090406e80.zip | |
Pass down struct gp_service to import and export credential calls.
Guenther
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'proxy/src/gp_export.c')
| -rw-r--r-- | proxy/src/gp_export.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/proxy/src/gp_export.c b/proxy/src/gp_export.c index 93f3460..8b9ee24 100644 --- a/proxy/src/gp_export.c +++ b/proxy/src/gp_export.c @@ -31,6 +31,7 @@ #include "gp_conv.h" #include "gp_export.h" #include "gp_debug.h" +#include "gp_proxy.h" #include <gssapi/gssapi_krb5.h> #include <pwd.h> #include <grp.h> @@ -254,6 +255,7 @@ static uint32_t gp_read_gss_creds_from_ring_buffer(uint32_t *min, } uint32_t gp_export_gssx_cred(uint32_t *min, + struct gp_service *svc, gss_cred_id_t *in, gssx_cred *out) { uint32_t ret_maj; @@ -365,7 +367,8 @@ int gp_import_gssx_cred(octet_string *in, gss_cred_id_t *out) return 0; } -int gp_find_cred(gssx_cred *cred, gss_cred_id_t *out) +int gp_find_cred(struct gp_service *svc, + gssx_cred *cred, gss_cred_id_t *out) { return gp_import_gssx_cred(&cred->cred_handle_reference, out); } |
