- don't crash when trying to add to known_hosts if it doesn't exist

- comments

--HG--
extra : convert_revision : ffafd48c7494fee17a98d901e30c3372e1a092e9
This commit is contained in:
Matt Johnston
2004-08-16 08:59:11 +00:00
parent 6d93048fe9
commit fdfc95df8b
2 changed files with 5 additions and 1 deletions

View File

@@ -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;