]> git.pld-linux.org Git - packages/util-linux.git/blobdiff - util-linux-dm_crypt.patch
- CRYPT_FLAG_VERIFY != CRYPT_FLAG_PASSPHRASE (fixed commit 1.2 -> 1.3)
[packages/util-linux.git] / util-linux-dm_crypt.patch
index 8483b36786a56095b6db68be331f85a62db783dd..69a9fe13270911930570577e3d28f1ff295b5791 100644 (file)
@@ -1,7 +1,7 @@
 diff -urN util-linux-2.12q.org/mount/cryptsetup.c util-linux-2.12q/mount/cryptsetup.c
 --- util-linux-2.12q.org/mount/cryptsetup.c    1970-01-01 01:00:00.000000000 +0100
 +++ util-linux-2.12q/mount/cryptsetup.c        2005-02-27 19:26:34.000000000 +0100
-@@ -0,0 +1,216 @@
+@@ -0,0 +1,214 @@
 +/*
 + * cryptsetup.c - setup and control encrypted devices
 + */
@@ -112,8 +112,6 @@ diff -urN util-linux-2.12q.org/mount/cryptsetup.c util-linux-2.12q/mount/cryptse
 +              options.key_file = NULL;
 +      options.passphrase_fd = (pfd >= 0) ? pfd : 0;
 +      options.flags = 0;
-+      if (!options.key_file)
-+              options.flags |= CRYPT_FLAG_VERIFY;
 +      if (*cryptro)
 +              options.flags |= CRYPT_FLAG_READONLY;
 +      options.offset = offset;
This page took 0.078665 seconds and 4 git commands to generate.