From: Mark Wooding Date: Sun, 14 Dec 2008 04:14:54 +0000 (+0000) Subject: server/keyexch: Fix message name table in trace output. X-Git-Tag: 1.0.0pre8~47 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/commitdiff_plain/c3c51798db44f1fd5d2b54c4919cd50373f70376 server/keyexch: Fix message name table in trace output. In de7bd20be1c41f8f70e98ab498ffb4a82800a9d8, I removed the pre-challenge message in order to streamline the protocol. Unfortunately, I forgot to update the pkname table which maps message numbers to human-readable name strings, which makes decoding trace messages rather difficult. --- diff --git a/server/keyexch.c b/server/keyexch.c index e7052729..76aeee00 100644 --- a/server/keyexch.c +++ b/server/keyexch.c @@ -85,8 +85,7 @@ /*----- Static tables -----------------------------------------------------*/ static const char *const pkname[] = { - "pre-challenge", "cookie", "challenge", - "reply", "switch-rq", "switch-ok" + "pre-challenge", "challenge", "reply", "switch-rq", "switch-ok" }; /*----- Various utilities -------------------------------------------------*/