chiark / gitweb /
server/keyexch: Fix message name table in trace output.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 14 Dec 2008 04:14:54 +0000 (04:14 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 14 Dec 2008 04:14:54 +0000 (04:14 +0000)
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.

server/keyexch.c

index e705272..76aeee0 100644 (file)
@@ -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 -------------------------------------------------*/