summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_rpc_wrap.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-11-10 23:02:04 -0500
committerRobbie Harwood <rharwood@redhat.com>2015-12-01 17:33:54 -0500
commitfdcad4fa9696c5f501b16d1b3f622ccc28b6147f (patch)
tree4c32fd7aa90bb7f3cb02d2dcd1dd7c29645224ae /proxy/src/gp_rpc_wrap.c
parent71d316dfc51bcb9e18da61fb7299bb021523cde4 (diff)
downloadgss-proxy-fdcad4fa9696c5f501b16d1b3f622ccc28b6147f.tar.gz
gss-proxy-fdcad4fa9696c5f501b16d1b3f622ccc28b6147f.tar.xz
gss-proxy-fdcad4fa9696c5f501b16d1b3f622ccc28b6147f.zip
Add higher level debugging for all rpc calls
Print everything, except octet string buffers which are truncated. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Robbie Harwood <rharwood@redhat.com>
Diffstat (limited to 'proxy/src/gp_rpc_wrap.c')
-rw-r--r--proxy/src/gp_rpc_wrap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/proxy/src/gp_rpc_wrap.c b/proxy/src/gp_rpc_wrap.c
index f892dcc..d5c950e 100644
--- a/proxy/src/gp_rpc_wrap.c
+++ b/proxy/src/gp_rpc_wrap.c
@@ -21,6 +21,8 @@ int gp_wrap(struct gp_call_ctx *gpcall,
wa = &arg->wrap;
wr = &res->wrap;
+ GPRPCDEBUG(gssx_arg_wrap, wa);
+
exp_ctx_type = gp_get_exported_context_type(&wa->call_ctx);
if (exp_ctx_type == -1) {
ret_maj = GSS_S_FAILURE;
@@ -105,6 +107,7 @@ int gp_wrap(struct gp_call_ctx *gpcall,
done:
ret = gp_conv_status_to_gssx(&wa->call_ctx, ret_maj, ret_min,
GSS_C_NO_OID, &wr->status);
+ GPRPCDEBUG(gssx_res_wrap, wr);
gss_release_buffer(&ret_min, &output_message_buffer);
return ret;
}