diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2003-03-23 19:02:01 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2003-03-23 19:02:01 +0000 |
commit | d6df3127b30ac5eb63cf1ab6589ea38e4067ce7b (patch) | |
tree | 6b062e1bf9fc5b1ae6860d08edce0318ed0bc6f1 | |
parent | c51f9092c732c823ea641063a7a385729d5fc583 (diff) |
unbreak rekeying for privsep; ok millert@
-rw-r--r-- | usr.bin/ssh/monitor.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/monitor.c b/usr.bin/ssh/monitor.c index aec950e3b74..0ec3bf83980 100644 --- a/usr.bin/ssh/monitor.c +++ b/usr.bin/ssh/monitor.c @@ -25,7 +25,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: monitor.c,v 1.33 2003/03/05 22:33:43 markus Exp $"); +RCSID("$OpenBSD: monitor.c,v 1.34 2003/03/23 19:02:00 markus Exp $"); #include <openssl/dh.h> @@ -1431,6 +1431,8 @@ mm_get_kex(Buffer *m) (memcmp(kex->session_id, session_id2, session_id2_len) != 0)) fatal("mm_get_get: internal error: bad session id"); kex->we_need = buffer_get_int(m); + kex->kex[KEX_DH_GRP1_SHA1] = kexdh_server; + kex->kex[KEX_DH_GEX_SHA1] = kexgex_server; kex->server = 1; kex->hostkey_type = buffer_get_int(m); kex->kex_type = buffer_get_int(m); |