Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-stable
Commits
a80d0e2c
Commit
a80d0e2c
authored
Jul 13, 2011
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When invoked via frisbee, make sure cipher arg is set correctly.
parent
0da9a93c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
os/imagezip/imageunzip.c
os/imagezip/imageunzip.c
+3
-0
No files found.
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
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