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
c5ccb7c8
Commit
c5ccb7c8
authored
Feb 12, 2005
by
Niels Möller
Browse files
(main_argp_parser): Deleted support for the name
diffie-hellman-group2-sha1. Rev: src/lsh.c:1.200.2.1
parent
e3e2b4b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lsh.c
View file @
c5ccb7c8
...
@@ -767,7 +767,7 @@ main_argp_parser(int key, char *arg, struct argp_state *state)
...
@@ -767,7 +767,7 @@ main_argp_parser(int key, char *arg, struct argp_state *state)
{
{
int
i
=
0
;
int
i
=
0
;
self
->
kex_algorithms
self
->
kex_algorithms
=
alloc_int_list
(
3
*
self
->
with_dh_keyexchange
+
self
->
with_srp_keyexchange
);
=
alloc_int_list
(
2
*
self
->
with_dh_keyexchange
+
self
->
with_srp_keyexchange
);
#if WITH_SRP
#if WITH_SRP
if
(
self
->
with_srp_keyexchange
)
if
(
self
->
with_srp_keyexchange
)
...
@@ -790,12 +790,6 @@ main_argp_parser(int key, char *arg, struct argp_state *state)
...
@@ -790,12 +790,6 @@ main_argp_parser(int key, char *arg, struct argp_state *state)
ALIST_SET
(
self
->
algorithms
->
algorithms
,
ALIST_SET
(
self
->
algorithms
->
algorithms
,
ATOM_DIFFIE_HELLMAN_GROUP14_SHA1
,
ATOM_DIFFIE_HELLMAN_GROUP14_SHA1
,
&
dh2
->
super
);
&
dh2
->
super
);
/* Alternative name for the same thing */
LIST
(
self
->
kex_algorithms
)[
i
++
]
=
ATOM_DIFFIE_HELLMAN_GROUP2_SHA1
;
ALIST_SET
(
self
->
algorithms
->
algorithms
,
ATOM_DIFFIE_HELLMAN_GROUP2_SHA1
,
&
dh2
->
super
);
LIST
(
self
->
kex_algorithms
)[
i
++
]
=
ATOM_DIFFIE_HELLMAN_GROUP1_SHA1
;
LIST
(
self
->
kex_algorithms
)[
i
++
]
=
ATOM_DIFFIE_HELLMAN_GROUP1_SHA1
;
ALIST_SET
(
self
->
algorithms
->
algorithms
,
ALIST_SET
(
self
->
algorithms
->
algorithms
,
...
...
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