From 3e8addad2b3720a66f8a7b20d7ed7e66b8414748 Mon Sep 17 00:00:00 2001 From: Richard Kettlewell Date: Sun, 19 Jun 2011 09:08:17 +0100 Subject: [PATCH 1/1] 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 --- site.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2