Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LSH
lsh
Commits
24f4abca
Commit
24f4abca
authored
26 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
Rev: ChangeLog:1.3 Rev: src/keyexchange.c:1.26
parent
a051c708
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+6
-0
6 additions, 0 deletions
ChangeLog
src/keyexchange.c
+2
-3
2 additions, 3 deletions
src/keyexchange.c
with
8 additions
and
3 deletions
ChangeLog
+
6
−
0
View file @
24f4abca
Tue Dec 8 10:29:50 1998 <nisse@puck>
* crypto.c (do_sha_copy, ): Use the CLONE macro instead of memcpy to
copy instances.
(do_hmac_copy): -"-
Fri Dec 4 02:30:28 1998 <nisse@puck>
Fri Dec 4 02:30:28 1998 <nisse@puck>
* (practically every file): Adapted to new gc and object system.
* (practically every file): Adapted to new gc and object system.
...
...
This diff is collapsed.
Click to expand it.
src/keyexchange.c
+
2
−
3
View file @
24f4abca
...
@@ -100,10 +100,9 @@ static struct kexinit *parse_kexinit(struct lsh_string *packet)
...
@@ -100,10 +100,9 @@ static struct kexinit *parse_kexinit(struct lsh_string *packet)
||
(
msg_number
!=
SSH_MSG_KEXINIT
)
)
||
(
msg_number
!=
SSH_MSG_KEXINIT
)
)
{
{
KILL
(
res
);
KILL
(
res
);
return
0
;
return
NULL
;
}
}
if
(
!
parse_octets
(
&
buffer
,
16
,
res
->
cookie
))
if
(
!
parse_octets
(
&
buffer
,
16
,
res
->
cookie
))
{
{
KILL
(
res
);
KILL
(
res
);
...
@@ -425,7 +424,7 @@ struct mac_instance *kex_make_mac(struct hash_instance *secret,
...
@@ -425,7 +424,7 @@ struct mac_instance *kex_make_mac(struct hash_instance *secret,
int
type
,
int
type
,
struct
ssh_connection
*
connection
)
struct
ssh_connection
*
connection
)
{
{
CAST
(
mac_algorithm
,
algorithm
,
LIST
(
algorithms
)[
type
]);
CAST
_SUBTYPE
(
mac_algorithm
,
algorithm
,
LIST
(
algorithms
)[
type
]);
struct
mac_instance
*
mac
;
struct
mac_instance
*
mac
;
struct
lsh_string
*
key
;
struct
lsh_string
*
key
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment