GSSAPI status codes are bit-encoded, so print them in hex
authorDan Breslau <dbreslau@painless-security.com>
Mon, 10 Oct 2016 16:40:36 +0000 (12:40 -0400)
committerDan Breslau <dbreslau@painless-security.com>
Mon, 10 Oct 2016 16:40:36 +0000 (12:40 -0400)
mech_eap/util_trace.c

index b79eab6..ec74236 100644 (file)
@@ -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);