From: Richard Kettlewell Date: Sun, 19 Jun 2011 08:08:17 +0000 (+0100) Subject: cleanup: correct type of key exchange strings from uint8_t* to char* X-Git-Tag: v0.2.0~58 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=secnet.git;a=commitdiff_plain;h=3e8addad2b3720a66f8a7b20d7ed7e66b8414748;hp=c1d2109aeff13960693be57a3b16026b7d5a9708 cleanup: correct type of key exchange strings from uint8_t* to char* Change type of kx signature and pubkey fields to reflect that they are strings, squashing a GCC warning. Signed-off-by: Richard Kettlewell Signed-off-by: Ian Jackson --- diff --git a/site.c b/site.c index 17c3af2..c2777c4 100644 --- a/site.c +++ b/site.c @@ -249,10 +249,10 @@ struct msg { uint8_t *nR; uint8_t *nL; int32_t pklen; - uint8_t *pk; + char *pk; int32_t hashlen; int32_t siglen; - uint8_t *sig; + char *sig; }; /* Build any of msg1 to msg4. msg5 and msg6 are built from the inside