summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/kexgex.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-04-04 22:04:36 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-04-04 22:04:36 +0000
commit200c8f588f60837a0ac1122ea9cf403b77f3f8a4 (patch)
tree01010d31506fd5ea6e67acf3990b3d24dfbce5f3 /usr.bin/ssh/kexgex.c
parent1b1a009c606297619e8ab2b15a5e557cd5cde7e5 (diff)
parse full kexinit packet.
make server-side more robust, too.
Diffstat (limited to 'usr.bin/ssh/kexgex.c')
-rw-r--r--usr.bin/ssh/kexgex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/kexgex.c b/usr.bin/ssh/kexgex.c
index df7e668b4ab..d42dd55b3d3 100644
--- a/usr.bin/ssh/kexgex.c
+++ b/usr.bin/ssh/kexgex.c
@@ -24,7 +24,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: kexgex.c,v 1.3 2001/04/04 09:48:34 markus Exp $");
+RCSID("$OpenBSD: kexgex.c,v 1.4 2001/04/04 22:04:35 markus Exp $");
#include <openssl/bn.h>
@@ -286,7 +286,7 @@ kexgex_server(Kex *kex)
/* unused for old GEX */
break;
default:
- fatal("protocol error during kex, no DH_GEX_REQUEST");
+ fatal("protocol error during kex, no DH_GEX_REQUEST: %d", type);
}
packet_done();