diff options
Diffstat (limited to 'kexdh.c')
-rw-r--r-- | kexdh.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: kexdh.c,v 1.17 2002/02/28 15:46:33 markus Exp $"); | 26 | RCSID("$OpenBSD: kexdh.c,v 1.18 2002/03/18 17:50:31 provos Exp $"); |
27 | 27 | ||
28 | #include <openssl/crypto.h> | 28 | #include <openssl/crypto.h> |
29 | #include <openssl/bn.h> | 29 | #include <openssl/bn.h> |
@@ -37,6 +37,7 @@ RCSID("$OpenBSD: kexdh.c,v 1.17 2002/02/28 15:46:33 markus Exp $"); | |||
37 | #include "packet.h" | 37 | #include "packet.h" |
38 | #include "dh.h" | 38 | #include "dh.h" |
39 | #include "ssh2.h" | 39 | #include "ssh2.h" |
40 | #include "monitor_wrap.h" | ||
40 | 41 | ||
41 | static u_char * | 42 | static u_char * |
42 | kex_dh_hash( | 43 | kex_dh_hash( |
@@ -275,7 +276,7 @@ kexdh_server(Kex *kex) | |||
275 | 276 | ||
276 | /* sign H */ | 277 | /* sign H */ |
277 | /* XXX hashlen depends on KEX */ | 278 | /* XXX hashlen depends on KEX */ |
278 | key_sign(server_host_key, &signature, &slen, hash, 20); | 279 | PRIVSEP(key_sign(server_host_key, &signature, &slen, hash, 20)); |
279 | 280 | ||
280 | /* destroy_sensitive_data(); */ | 281 | /* destroy_sensitive_data(); */ |
281 | 282 | ||