From bd3bd69af16ab99706ba70ed11a3e291e968e5c6 Mon Sep 17 00:00:00 2001 From: Dan Breslau Date: Mon, 10 Oct 2016 12:40:36 -0400 Subject: [PATCH] GSSAPI status codes are bit-encoded, so print them in hex --- mech_eap/util_trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mech_eap/util_trace.c b/mech_eap/util_trace.c index b79eab6..ec74236 100644 --- a/mech_eap/util_trace.c +++ b/mech_eap/util_trace.c @@ -55,7 +55,7 @@ gssEapTraceStatus(const char *function, (int) mech_buf.length, (char *) mech_buf.value); } else { - wpa_printf(MSG_INFO, "%s: %u/%u", function, major, minor); + wpa_printf(MSG_INFO, "%s: %08X/%08X", function, major, minor); } tmpmaj = gss_release_buffer(&tmpmin, &gss_code_buf); tmpmaj = gss_release_buffer(&tmpmin, &mech_buf); -- 2.1.4