summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_export.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-01-25 16:32:33 -0500
committerSimo Sorce <simo@redhat.com>2012-01-25 16:55:08 -0500
commitdace994bf54750c67385cdfe17898376394af622 (patch)
treec48b62515cf8e5cb5bf43ed5963883a5e72c3801 /proxy/src/gp_export.c
parent1f70f9d1361665fcd6b4fc01e23c2544b281421a (diff)
downloadgss-proxy-dace994bf54750c67385cdfe17898376394af622.tar.gz
gss-proxy-dace994bf54750c67385cdfe17898376394af622.tar.xz
gss-proxy-dace994bf54750c67385cdfe17898376394af622.zip
Add a function to find credential handles
Diffstat (limited to 'proxy/src/gp_export.c')
-rw-r--r--proxy/src/gp_export.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/proxy/src/gp_export.c b/proxy/src/gp_export.c
index 89e14eb..8b87aaa 100644
--- a/proxy/src/gp_export.c
+++ b/proxy/src/gp_export.c
@@ -147,3 +147,7 @@ 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)
+{
+ return gp_import_gssx_cred(&cred->cred_handle_reference, out);
+}