]> git.pld-linux.org Git - packages/util-linux.git/commitdiff
- CRYPT_FLAG_VERIFY != CRYPT_FLAG_PASSPHRASE (fixed commit 1.2 -> 1.3)
authorSzymon Siwek <sls@pld-linux.org>
Mon, 2 Apr 2007 21:55:21 +0000 (21:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  CRYPT_FLAG_PASSPHRASE is redundant (I hope) to options.key_file

Changed files:
    util-linux-dm_crypt.patch -> 1.5

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.105494 seconds and 4 git commands to generate.