Skip to content
GitLab
Menu
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
08068f28
Commit
08068f28
authored
Jun 01, 2000
by
Niels Möller
Browse files
*** empty log message ***
Rev: src/channel_commands.c:1.20 Rev: src/keyexchange.c:1.67
parent
4886cae4
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/channel_commands.c
View file @
08068f28
...
...
@@ -229,7 +229,7 @@ do_install_fix_channel_open_handler(struct command *s,
self
->
name
,
self
->
handler
);
COMMAND_RETURN
(
c
,
x
);
COMMAND_RETURN
(
c
,
connection
);
}
struct
command
*
...
...
src/keyexchange.c
View file @
08068f28
...
...
@@ -157,6 +157,10 @@ initiate_keyexchange(struct ssh_connection *connection)
s
=
format_kex
(
kex
);
/* Save value for later signing */
#if 0
debug("do_handle_kexinit: Storing literal_kexinits[%i]\n", mode);
#endif
connection
->
literal_kexinits
[
mode
]
=
s
;
C_WRITE
(
connection
,
lsh_string_dup
(
s
));
...
...
@@ -227,6 +231,9 @@ do_handle_kexinit(struct packet_handler *c,
}
/* Save value for later signing */
#if 0
debug("do_handle_kexinit: Storing literal_kexinits[%i]\n", !mode);
#endif
connection
->
literal_kexinits
[
!
mode
]
=
packet
;
connection
->
kexinits
[
!
mode
]
=
msg
;
...
...
@@ -238,6 +245,9 @@ do_handle_kexinit(struct packet_handler *c,
struct
kexinit
*
sent
=
MAKE_KEXINIT
(
closure
->
init
);
connection
->
kexinits
[
mode
]
=
sent
;
packet
=
format_kex
(
sent
);
#if 0
debug("do_handle_kexinit: Storing literal_kexinits[%i]\n", mode);
#endif
connection
->
literal_kexinits
[
mode
]
=
lsh_string_dup
(
packet
);
C_WRITE
(
connection
,
packet
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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