* fix longstanding bug with connections being closed on failure to

connect to auth socket (server)
* differentiate between get_byte and get_bool
* get rid of some // comments
* general tidying

--HG--
extra : convert_revision : fb8d188ce33b6b45804a5ce51b9f601f83bdf3d7
This commit is contained in:
Matt Johnston
2005-03-13 13:58:14 +00:00
parent a68755af2b
commit f45eafe342
18 changed files with 42 additions and 51 deletions

2
dss.c
View File

@@ -261,6 +261,7 @@ out:
}
#endif /* DROPBEAR_SIGNKEY_VERIFY */
#ifdef DSS_PROTOK
/* convert an unsigned mp into an array of bytes, malloced.
* This array must be freed after use, len contains the length of the array,
* if len != NULL */
@@ -279,6 +280,7 @@ static unsigned char* mptobytes(mp_int *mp, int *len) {
}
return ret;
}
#endif
/* Sign the data presented with key, writing the signature contents
* to the buffer