summaryrefslogtreecommitdiffstats
path: root/proxy
diff options
context:
space:
mode:
authorGünther Deschner <gdeschner@redhat.com>2012-06-22 14:45:11 +0200
committerSimo Sorce <simo@redhat.com>2012-06-25 17:00:45 -0400
commit4a0b3469269df05f190b568b5be24e9a95b9e41d (patch)
treeeb5011e04981577e3e0cc35eb1685090af6084c9 /proxy
parent2c1530def138a8a1caaf82d31b93994090406e80 (diff)
downloadgss-proxy-4a0b3469269df05f190b568b5be24e9a95b9e41d.tar.gz
gss-proxy-4a0b3469269df05f190b568b5be24e9a95b9e41d.tar.xz
gss-proxy-4a0b3469269df05f190b568b5be24e9a95b9e41d.zip
Make gp_import_gssx_cred() static, it is not used outside this file.
Guenther Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'proxy')
-rw-r--r--proxy/src/gp_export.c2
-rw-r--r--proxy/src/gp_export.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/proxy/src/gp_export.c b/proxy/src/gp_export.c
index 8b9ee24..c286e6d 100644
--- a/proxy/src/gp_export.c
+++ b/proxy/src/gp_export.c
@@ -357,7 +357,7 @@ done:
return ret_maj;
}
-int gp_import_gssx_cred(octet_string *in, gss_cred_id_t *out)
+static int gp_import_gssx_cred(octet_string *in, gss_cred_id_t *out)
{
if (in) {
memcpy(out, in->octet_string_val, sizeof(gss_cred_id_t));
diff --git a/proxy/src/gp_export.h b/proxy/src/gp_export.h
index 0bf76b5..9f18956 100644
--- a/proxy/src/gp_export.h
+++ b/proxy/src/gp_export.h
@@ -34,7 +34,6 @@ struct gp_service;
uint32_t gp_export_gssx_cred(uint32_t *min,
struct gp_service *svc,
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(struct gp_service *svc, gssx_cred *cred, gss_cred_id_t *out);
int gp_get_exported_context_type(struct gssx_call_ctx *ctx);