summaryrefslogtreecommitdiffhomepage
path: root/dss.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2005-03-13 13:58:14 +0000
committerMatt Johnston <matt@ucc.asn.au>2005-03-13 13:58:14 +0000
commitf45eafe342aa07dfdc7a83e865b642f9b8ef2fa0 (patch)
tree420b80af3728353ee1a4151ecd32d627a48c1fdf /dss.c
parenta68755af2bbc2e34ad23a74fc4d9d5c58502aa14 (diff)
* 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
Diffstat (limited to 'dss.c')
-rw-r--r--dss.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dss.c b/dss.c
index 6429ede..7b3d9d4 100644
--- a/dss.c
+++ b/dss.c
@@ -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