Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
LSH
lsh
Commits
d792a976
Commit
d792a976
authored
Sep 15, 1998
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trivial bug fixes.
Rev: src/publickey_crypto.c:1.8
parent
12131f6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
src/publickey_crypto.c
src/publickey_crypto.c
+1
-5
No files found.
src/publickey_crypto.c
View file @
d792a976
...
...
@@ -420,8 +420,6 @@ void init_diffie_hellman_instance(struct diffie_hellman_method *m,
c
->
literal_kexinits
[
CONNECTION_SERVER
]
=
NULL
;
c
->
literal_kexinits
[
CONNECTION_CLIENT
]
=
NULL
;
return
self
;
}
struct
diffie_hellman_instance
*
...
...
@@ -526,13 +524,11 @@ void dh_hash_digest(struct diffie_hellman_instance *self, UINT8 *digest)
struct
lsh_string
*
dh_make_server_msg
(
struct
diffie_hellman_instance
*
self
,
struct
signer
*
s
)
{
struct
lsh_string
*
msg
;
dh_generate_secret
(
self
,
self
->
f
);
self
->
exchange_hash
=
lsh_string_alloc
(
self
->
hash
->
hash_size
);
dh_hash_digest
(
self
,
exchange_hash
->
data
);
dh_hash_digest
(
self
,
self
->
exchange_hash
->
data
);
return
ssh_format
(
"%c%S%n%fS"
,
SSH_MSG_KEXDH_REPLY
,
...
...
Write
Preview
Markdown
is supported
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