summaryrefslogtreecommitdiff
path: root/kexgexc.c
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2015-01-19 19:52:16 +0000
committerDamien Miller <djm@mindrot.org>2015-01-20 09:13:01 +1100
commit091c302829210c41e7f57c3f094c7b9c054306f0 (patch)
tree800de5dc85b877a85d1f269ae5bb09b0dc3fa7a7 /kexgexc.c
parent4e62cc68ce4ba20245d208b252e74e91d3785b74 (diff)
upstream commit
update packet.c & isolate, introduce struct ssh a) switch packet.c to buffer api and isolate per-connection info into struct ssh b) (de)serialization of the state is moved from monitor to packet.c c) the old packet.c API is implemented in opacket.[ch] d) compress.c/h is removed and integrated into packet.c with and ok djm@
Diffstat (limited to 'kexgexc.c')
-rw-r--r--kexgexc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexgexc.c b/kexgexc.c
index a21a1d957..18d09cfb0 100644
--- a/kexgexc.c
+++ b/kexgexc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: kexgexc.c,v 1.17 2014/02/02 03:44:31 djm Exp $ */ 1/* $OpenBSD: kexgexc.c,v 1.18 2015/01/19 19:52:16 markus Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Niels Provos. All rights reserved. 3 * Copyright (c) 2000 Niels Provos. All rights reserved.
4 * Copyright (c) 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -175,8 +175,8 @@ kexgex_client(Kex *kex)
175 kex->hash_alg, 175 kex->hash_alg,
176 kex->client_version_string, 176 kex->client_version_string,
177 kex->server_version_string, 177 kex->server_version_string,
178 buffer_ptr(&kex->my), buffer_len(&kex->my), 178 buffer_ptr(kex->my), buffer_len(kex->my),
179 buffer_ptr(&kex->peer), buffer_len(&kex->peer), 179 buffer_ptr(kex->peer), buffer_len(kex->peer),
180 server_host_key_blob, sbloblen, 180 server_host_key_blob, sbloblen,
181 min, nbits, max, 181 min, nbits, max,
182 dh->p, dh->g, 182 dh->p, dh->g,