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
4d74090a
Commit
4d74090a
authored
May 11, 1999
by
Niels Möller
Browse files
* src/keyexchange.c (parse_kexinit): Use the improved
parse_atom_list() function. Rev: src/keyexchange.c:1.51
parent
874d2594
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/keyexchange.c
View file @
4d74090a
...
...
@@ -70,7 +70,6 @@ static struct kexinit *parse_kexinit(struct lsh_string *packet)
{
NEW
(
kexinit
,
res
);
struct
simple_buffer
buffer
;
struct
simple_buffer
sub_buffer
;
unsigned
msg_number
;
UINT32
reserved
;
...
...
@@ -94,8 +93,7 @@ static struct kexinit *parse_kexinit(struct lsh_string *packet)
for
(
i
=
0
;
i
<
NLISTS
;
i
++
)
{
if
(
!
parse_sub_buffer
(
&
buffer
,
&
sub_buffer
)
||
!
(
lists
[
i
]
=
parse_atom_list
(
&
sub_buffer
,
KEXINIT_MAX_ALGORITMS
)))
if
(
!
(
lists
[
i
]
=
parse_atom_list
(
&
buffer
,
KEXINIT_MAX_ALGORITMS
)))
break
;
}
...
...
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