diff options
-rw-r--r-- | proxy/src/gp_export.c | 4 | ||||
-rw-r--r-- | proxy/src/gp_export.h | 1 |
2 files changed, 5 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); +} diff --git a/proxy/src/gp_export.h b/proxy/src/gp_export.h index bc6a226..8296a5a 100644 --- a/proxy/src/gp_export.h +++ b/proxy/src/gp_export.h @@ -31,5 +31,6 @@ int gp_export_gssx_cred(gss_cred_id_t *in, gssx_cred *out); int gp_import_gssx_cred(octet_string *in, gss_cred_id_t *out); +int gp_find_cred(gssx_cred *cred, gss_cred_id_t *out); #endif /* _GSS_EXPORT_H_ */ |