chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1d2109
)
cleanup: correct type of key exchange strings from uint8_t* to char*
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 19 Jun 2011 08:08:17 +0000
(09:08 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 26 Jun 2011 11:07:27 +0000
(12:07 +0100)
Change type of kx signature and pubkey fields to reflect that they are
strings, squashing a GCC warning.
Signed-off-by: Richard Kettlewell <richard@greenend.org.uk>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
site.c
patch
|
blob
|
history
diff --git
a/site.c
b/site.c
index 17c3af204189c2e167f75a3c4274886eff0df868..c2777c4c2153a0e0dc09719764c65bef5743404e 100644
(file)
--- 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