Return to kexdh.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.17, 2002/02/28 15:46:33 | version 1.18, 2002/03/18 17:50:31 | ||
---|---|---|---|
|
|
||
#include "packet.h" | #include "packet.h" | ||
#include "dh.h" | #include "dh.h" | ||
#include "ssh2.h" | #include "ssh2.h" | ||
#include "monitor_wrap.h" | |||
static u_char * | static u_char * | ||
kex_dh_hash( | kex_dh_hash( | ||
|
|
||
/* sign H */ | /* sign H */ | ||
/* XXX hashlen depends on KEX */ | /* XXX hashlen depends on KEX */ | ||
key_sign(server_host_key, &signature, &slen, hash, 20); | PRIVSEP(key_sign(server_host_key, &signature, &slen, hash, 20)); | ||
/* destroy_sensitive_data(); */ | /* destroy_sensitive_data(); */ | ||