Mercurial > dropbear
comparison svr-kex.c @ 886:cbc73a5aefb0
requirenext doesn't need two values
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 23 Jan 2014 22:25:52 +0800 |
parents | 6c7a15668d5a |
children | fd2e8bbb0333 |
comparison
equal
deleted
inserted
replaced
885:19ce21bd198a | 886:cbc73a5aefb0 |
---|---|
78 buf_free(ecdh_qs); | 78 buf_free(ecdh_qs); |
79 ecdh_qs = NULL; | 79 ecdh_qs = NULL; |
80 } | 80 } |
81 | 81 |
82 send_msg_newkeys(); | 82 send_msg_newkeys(); |
83 ses.requirenext[0] = SSH_MSG_NEWKEYS; | 83 ses.requirenext = SSH_MSG_NEWKEYS; |
84 ses.requirenext[1] = 0; | |
85 TRACE(("leave recv_msg_kexdh_init")) | 84 TRACE(("leave recv_msg_kexdh_init")) |
86 } | 85 } |
87 | 86 |
88 #ifdef DROPBEAR_DELAY_HOSTKEY | 87 #ifdef DROPBEAR_DELAY_HOSTKEY |
89 static void svr_ensure_hostkey() { | 88 static void svr_ensure_hostkey() { |