Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
2cfc7442
Commit
2cfc7442
authored
Mar 14, 2002
by
Niels Möller
Browse files
(handshake_command): Store the make_kexinit
object in the connection's kexinit attribute. Rev: src/handshake.c:1.11
parent
e9076d36
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/handshake.c
View file @
2cfc7442
...
...
@@ -311,16 +311,6 @@ make_handshake_info(enum connection_flag flags,
* private keys (for the server) or a hostkey database (for the
* client). */
/* GABA:
(class
(name handshake_command_2)
(super command)
(vars
(info object handshake_info)
(init object make_kexinit)
(extra object lsh_object)))
*/
/* Buffer size when reading from the socket */
#define BUF_SIZE (1<<14)
...
...
@@ -408,10 +398,9 @@ DEFINE_COMMAND4(handshake_command)
"Handshake timed out"
);
connection
->
versions
[
mode
]
=
version
;
connection
->
kexinit
s
[
mode
]
=
MAKE_KEXINIT
(
init
)
;
connection
->
kexinit
=
init
;
connection
->
dispatch
[
SSH_MSG_KEXINIT
]
=
make_kexinit_handler
(
init
,
extra
,
info
->
algorithms
);
=
make_kexinit_handler
(
extra
,
info
->
algorithms
);
#if WITH_SSH1_FALLBACK
/* In this mode the server SHOULD NOT send carriage return character (ascii
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment