projects
/
platform
/
upstream
/
cryptsetup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
448c401
)
Do not verify unlocking passphrase in luksAddKey command. (fixes issue #50)
author
Milan Broz
<gmazyland@gmail.com>
Thu, 25 Feb 2010 15:41:22 +0000
(15:41 +0000)
committer
Milan Broz
<gmazyland@gmail.com>
Thu, 25 Feb 2010 15:41:22 +0000
(15:41 +0000)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@189
36d66b0a
-2a48-0410-832c-
cd162a569da5
ChangeLog
patch
|
blob
|
history
lib/setup.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
0986afb
..
ca96a3d
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,6
@@
+2010-02-25 Milan Broz <mbroz@redhat.com>
+ * Do not verify unlocking passphrase in luksAddKey command.
+
2010-01-17 Milan Broz <mbroz@redhat.com>
* If gcrypt compiled with capabilities, document workaround for cryptsetup (see lib/gcrypt.c).
* Version 1.1.0.
diff --git
a/lib/setup.c
b/lib/setup.c
index
0aef858
..
ea5359a
100644
(file)
--- a/
lib/setup.c
+++ b/
lib/setup.c
@@
-1511,7
+1511,7
@@
int crypt_keyslot_add_by_keyfile(struct crypt_device *cd,
keyfile, keyfile_size);
else
key_from_terminal(cd, _("Enter any passphrase: "),
- &password, &passwordLen,
1
);
+ &password, &passwordLen,
0
);
if (!password)
return -EINVAL;