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:
873017d
)
Fix uninteded change in keysize.
author
Milan Broz
<gmazyland@gmail.com>
Fri, 23 Oct 2009 16:24:50 +0000
(16:24 +0000)
committer
Milan Broz
<gmazyland@gmail.com>
Fri, 23 Oct 2009 16:24:50 +0000
(16:24 +0000)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@135
36d66b0a
-2a48-0410-832c-
cd162a569da5
lib/setup.c
patch
|
blob
|
history
diff --git
a/lib/setup.c
b/lib/setup.c
index
8a6282d
..
13db12f
100644
(file)
--- a/
lib/setup.c
+++ b/
lib/setup.c
@@
-2021,7
+2021,7
@@
const char *crypt_get_uuid(struct crypt_device *cd)
int crypt_get_volume_key_size(struct crypt_device *cd)
{
if (isPLAIN(cd->type))
- return cd->volume_key->keyLength
/ 8
;
+ return cd->volume_key->keyLength;
if (isLUKS(cd->type))
return cd->hdr.keyBytes;