Mercurial > dropbear
diff 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 |
line wrap: on
line diff
--- a/svr-kex.c Fri Mar 27 23:23:11 2020 +0800 +++ b/svr-kex.c Mon Apr 06 23:18:26 2020 +0800 @@ -234,7 +234,7 @@ /* calc the signature */ buf_put_sign(ses.writepayload, svr_opts.hostkey, - ses.newkeys->algo_hostkey, ses.hash); + ses.newkeys->algo_signature, ses.hash); /* the SSH_MSG_KEXDH_REPLY is done */ encrypt_packet();