version 1.32, 2018/02/07 02:06:51 |
version 1.33, 2018/04/10 00:10:49 |
|
|
|
|
/* destroy_sensitive_data(); */ |
/* destroy_sensitive_data(); */ |
|
|
/* send server hostkey, DH pubkey 'f' and singed H */ |
/* send server hostkey, DH pubkey 'f' and signed H */ |
if ((r = sshpkt_start(ssh, SSH2_MSG_KEX_DH_GEX_REPLY)) != 0 || |
if ((r = sshpkt_start(ssh, SSH2_MSG_KEX_DH_GEX_REPLY)) != 0 || |
(r = sshpkt_put_string(ssh, server_host_key_blob, sbloblen)) != 0 || |
(r = sshpkt_put_string(ssh, server_host_key_blob, sbloblen)) != 0 || |
(r = sshpkt_put_bignum2(ssh, kex->dh->pub_key)) != 0 || /* f */ |
(r = sshpkt_put_bignum2(ssh, kex->dh->pub_key)) != 0 || /* f */ |