From: Lennart Poettering Date: Wed, 20 Apr 2011 17:22:45 +0000 (+0200) Subject: cryptsetup: pass 0 as key size to crypt_activate_by_keyfile() X-Git-Tag: v25~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9402841ef197e485061ab328edcaa0e6d83051bd;p=systemd 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 4ef9606d..d7c458ad 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;