From fdcad4fa9696c5f501b16d1b3f622ccc28b6147f Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 10 Nov 2015 23:02:04 -0500 Subject: Add higher level debugging for all rpc calls Print everything, except octet string buffers which are truncated. Signed-off-by: Simo Sorce Reviewed-by: Robbie Harwood --- proxy/src/gp_rpc_wrap.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'proxy/src/gp_rpc_wrap.c') 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; } -- cgit