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
emulab
emulab-devel
Commits
a80d0e2c
Commit
a80d0e2c
authored
Jul 13, 2011
by
Mike Hibler
Browse files
When invoked via frisbee, make sure cipher arg is set correctly.
parent
0da9a93c
Changes
1
Hide whitespace changes
Inline
Side-by-side
os/imagezip/imageunzip.c
View file @
a80d0e2c
...
...
@@ -943,6 +943,9 @@ ImageUnzipInitKeys(char *uuidstr, char *sig_keyfile, char *enc_keyfile)
if
(
!
encrypt_readkey
(
enc_keyfile
,
encryption_key
,
sizeof
(
encryption_key
)))
exit
(
1
);
/* XXX can you intuit the cipher from the key? */
if
(
cipher
==
ENC_NONE
)
cipher
=
ENC_BLOWFISH_CBC
;
do_decrypt
=
1
;
}
#else
...
...
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