diff options
author | Simo Sorce <simo@redhat.com> | 2015-11-10 23:02:04 -0500 |
---|---|---|
committer | Robbie Harwood <rharwood@redhat.com> | 2015-12-01 17:33:54 -0500 |
commit | fdcad4fa9696c5f501b16d1b3f622ccc28b6147f (patch) | |
tree | 4c32fd7aa90bb7f3cb02d2dcd1dd7c29645224ae /proxy/src/gp_rpc_wrap.c | |
parent | 71d316dfc51bcb9e18da61fb7299bb021523cde4 (diff) | |
download | gss-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.c | 3 |
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; } |