summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-01-29 17:59:50 -0500
committerSimo Sorce <simo@redhat.com>2012-01-29 18:01:27 -0500
commit41b087961ebe72c64255ceeddc82759773a827c0 (patch)
tree3f2a3d3da219b74ff0733e125a398bb57afdb6f5
parent58a9ecd6bfe62bb809dbfca3cdde72fde6b2ba3e (diff)
downloadgss-proxy-41b087961ebe72c64255ceeddc82759773a827c0.tar.gz
gss-proxy-41b087961ebe72c64255ceeddc82759773a827c0.tar.xz
gss-proxy-41b087961ebe72c64255ceeddc82759773a827c0.zip
Fix incorrect declaration.
-rw-r--r--proxy/src/gp_rpc_release_handle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/proxy/src/gp_rpc_release_handle.c b/proxy/src/gp_rpc_release_handle.c
index 9f423d6..5264cf2 100644
--- a/proxy/src/gp_rpc_release_handle.c
+++ b/proxy/src/gp_rpc_release_handle.c
@@ -33,7 +33,7 @@ int gp_release_handle(struct gssproxy_ctx *gpctx,
struct gssx_res_release_handle *rhr;
uint32_t ret_maj;
uint32_t ret_min;
- gss_cred_id_t *cred;
+ gss_cred_id_t cred;
int ret;
rha = &arg->release_handle;
@@ -47,12 +47,12 @@ int gp_release_handle(struct gssproxy_ctx *gpctx,
ret_min = 0;
break;
case GSSX_C_HANDLE_CRED:
- ret = gp_find_cred(&rha->cred_handle.gssx_handle_u.cred_info, cred);
+ ret = gp_find_cred(&rha->cred_handle.gssx_handle_u.cred_info, &cred);
if (ret) {
ret_maj = GSS_S_UNAVAILABLE;
ret_min = 0;
} else {
- ret_maj = gss_release_cred(&ret_min, cred);
+ ret_maj = gss_release_cred(&ret_min, &cred);
}
break;
default: