Skip to content
GitLab
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
cdb6d2b8
Commit
cdb6d2b8
authored
Mar 14, 2002
by
Niels Möller
Browse files
(all_crypto_algorithms): Prefer aes256.
(default_crypto_algorithms): Likewise. Rev: src/algorithms.c:1.31
parent
33a7d3b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/algorithms.c
View file @
cdb6d2b8
...
...
@@ -89,7 +89,8 @@ filter_algorithms_l(struct alist *algorithms, unsigned n, ...);
static
struct
int_list
*
default_crypto_algorithms
(
struct
alist
*
algorithms
)
{
return
filter_algorithms_l
(
algorithms
,
3
,
return
filter_algorithms_l
(
algorithms
,
4
,
ATOM_AES256_CBC
,
ATOM_3DES_CBC
,
ATOM_BLOWFISH_CBC
,
ATOM_ARCFOUR
,
-
1
);
...
...
@@ -101,11 +102,11 @@ static struct int_list *
all_crypto_algorithms
(
struct
alist
*
algorithms
)
{
return
filter_algorithms_l
(
algorithms
,
8
,
ATOM_AES256_CBC
,
ATOM_3DES_CBC
,
ATOM_TWOFISH_CBC
,
ATOM_CAST128_CBC
,
ATOM_SERPENT_CBC_LOCAL
,
ATOM_AES256_CBC
,
ATOM_RIJNDAEL_CBC_LOCAL
,
ATOM_BLOWFISH_CBC
,
ATOM_ARCFOUR
,
-
1
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment