Mercurial > dropbear
comparison svr-kex.c @ 1674:ba6fc7afe1c5
use sigtype where appropriate
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 06 Apr 2020 23:18:26 +0800 |
parents | d32bcb5c557d |
children | 4b4cfc92c5b7 |
comparison
equal
deleted
inserted
replaced
1668:49cb3cf4bd6f | 1674:ba6fc7afe1c5 |
---|---|
232 #endif | 232 #endif |
233 } | 233 } |
234 | 234 |
235 /* calc the signature */ | 235 /* calc the signature */ |
236 buf_put_sign(ses.writepayload, svr_opts.hostkey, | 236 buf_put_sign(ses.writepayload, svr_opts.hostkey, |
237 ses.newkeys->algo_hostkey, ses.hash); | 237 ses.newkeys->algo_signature, ses.hash); |
238 | 238 |
239 /* the SSH_MSG_KEXDH_REPLY is done */ | 239 /* the SSH_MSG_KEXDH_REPLY is done */ |
240 encrypt_packet(); | 240 encrypt_packet(); |
241 | 241 |
242 TRACE(("leave send_msg_kexdh_reply")) | 242 TRACE(("leave send_msg_kexdh_reply")) |