mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-16 05:10:03 +01:00
Fix previous commit (for now).
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@400 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
@@ -204,7 +204,8 @@ static int action_create(int arg)
|
|||||||
if (params.hash && !strcmp(params.hash, "plain"))
|
if (params.hash && !strcmp(params.hash, "plain"))
|
||||||
params.hash = NULL;
|
params.hash = NULL;
|
||||||
|
|
||||||
if (opt_key_file)
|
/* FIXME: temporary hack */
|
||||||
|
if (opt_key_file && strcmp(opt_key_file, "-"))
|
||||||
params.hash = NULL;
|
params.hash = NULL;
|
||||||
|
|
||||||
r = crypt_parse_name_and_mode(opt_cipher ?: DEFAULT_CIPHER(PLAIN),
|
r = crypt_parse_name_and_mode(opt_cipher ?: DEFAULT_CIPHER(PLAIN),
|
||||||
|
|||||||
Reference in New Issue
Block a user