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
da0c6fe9
Commit
da0c6fe9
authored
Jul 13, 2012
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configure lsh-transport key exchange algorithms via algorithm_options.
parent
7600f3e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
ChangeLog
ChangeLog
+5
-0
src/lsh-transport.c
src/lsh-transport.c
+1
-6
No files found.
ChangeLog
View file @
da0c6fe9
2012-07-13 Niels Möller <nisse@lysator.liu.se>
* src/lsh-transport.c (main_argp_parser): Configure key exchange
algorithms via algorithm_options.
2012-07-12 Niels Möller <nisse@lysator.liu.se>
* src/algorithms.h (class algorithms_options): New attribute
...
...
src/lsh-transport.c
View file @
da0c6fe9
...
...
@@ -105,8 +105,6 @@ make_lsh_transport_lookup_verifier(struct lsh_transport_config *config);
(algorithms object algorithms_options)
(werror_config object werror_config)
(kex_algorithms object int_list)
(sloppy . int)
(capture_file . "const char *")
(capture_fd . int)
...
...
@@ -157,9 +155,6 @@ make_lsh_transport_config(void)
ALIST_SET
(
self
->
super
.
algorithms
,
ATOM_DIFFIE_HELLMAN_GROUP1_SHA1
,
&
make_client_dh_exchange
(
make_dh_group1
(
&
nettle_sha1
),
&
self
->
host_db
->
super
)
->
super
);
self
->
kex_algorithms
=
make_int_list
(
2
,
ATOM_DIFFIE_HELLMAN_GROUP14_SHA1
,
ATOM_DIFFIE_HELLMAN_GROUP1_SHA1
,
-
1
);
self
->
sloppy
=
0
;
self
->
capture_file
=
NULL
;
...
...
@@ -1282,7 +1277,7 @@ main_argp_parser(int key, char *arg, struct argp_state *state)
argp_failure
(
state
,
EXIT_FAILURE
,
errno
,
"Failed to open log file"
);
self
->
super
.
kexinit
=
make_kexinit_info
(
self
->
kex_algorithms
,
=
make_kexinit_info
(
self
->
algorithms
->
kex_algorithms
,
self
->
algorithms
->
hostkey_algorithms
,
self
->
algorithms
->
crypto_algorithms
,
self
->
algorithms
->
mac_algorithms
,
...
...
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