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
72ce018a
Commit
72ce018a
authored
Mar 04, 2010
by
Niels Möller
Browse files
(main_argp_parser): By default, don't encrypt symmetric keys.
Rev: src/lsh-keygen.c:1.27
parent
47c5dfaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lsh-keygen.c
View file @
72ce018a
...
...
@@ -202,7 +202,7 @@ main_argp_parser(int key, char *arg, struct argp_state *state)
/* Default behaviour is to encrypt the key unless running in
server mode. */
if
(
!
self
->
crypto_name
&&
!
self
->
server
)
if
(
!
self
->
crypto_name
&&
!
self
->
server
&&
self
->
algorithm
!=
's'
)
{
self
->
crypto_name
=
ATOM_AES256_CBC
;
self
->
crypto
=
&
crypto_aes256_cbc_algorithm
;
...
...
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