From fdfc95df8b1d5c7c889e56a1028671a77f6cff5a Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Mon, 16 Aug 2004 08:59:11 +0000 Subject: - don't crash when trying to add to known_hosts if it doesn't exist - comments --HG-- extra : convert_revision : ffafd48c7494fee17a98d901e30c3372e1a092e9 --- common-kex.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common-kex.c') diff --git a/common-kex.c b/common-kex.c index 0654b19..f8bfe97 100644 --- a/common-kex.c +++ b/common-kex.c @@ -464,6 +464,8 @@ void recv_msg_kexinit() { /* Initialises and generate one side of the diffie-hellman key exchange values. * See the ietf-secsh-transport draft, section 6, for details */ +/* dh_pub and dh_priv will be initialised by this function, and should be + * mp_clear()ed after finished */ void gen_kexdh_vals(mp_int *dh_pub, mp_int *dh_priv) { mp_int dh_p, dh_q, dh_g; -- cgit v1.2.3