[systemd-commits] src/cryptsetup.c
Lennart Poettering
lennart at kemper.freedesktop.org
Wed Apr 20 10:23:17 PDT 2011
src/cryptsetup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9402841ef197e485061ab328edcaa0e6d83051bd
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Apr 20 19:22:45 2011 +0200
cryptsetup: pass 0 as key size to crypt_activate_by_keyfile()
https://bugs.freedesktop.org/show_bug.cgi?id=36264
diff --git a/src/cryptsetup.c b/src/cryptsetup.c
index 4ef9606..d7c458a 100644
--- a/src/cryptsetup.c
+++ b/src/cryptsetup.c
@@ -447,7 +447,7 @@ int main(int argc, char *argv[]) {
argv[3]);
if (key_file)
- k = crypt_activate_by_keyfile(cd, argv[2], CRYPT_ANY_SLOT, key_file, opt_key_size, flags);
+ k = crypt_activate_by_keyfile(cd, argv[2], CRYPT_ANY_SLOT, key_file, 0, flags);
else {
char **p;
More information about the systemd-commits
mailing list