diff options
author | David Härdeman <david@hardeman.nu> | 2014-03-25 11:05:28 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-04-24 09:23:57 +0200 |
commit | 6131a78b4d247618715e042e14ad682f678d3b32 (patch) | |
tree | a7e6cfead6b7ad09ea5b35c70f218d8e95fb1aae /src/libsystemd/sd-resolve/test-resolve.c | |
parent | 9fa1de965a0954dcb6d855ebe0513077515a0daa (diff) |
Fix keysize handling in cryptsetup (bits vs. bytes)
The command line key-size is in bits but the libcryptsetup API expects bytes.
Note that the modulo 8 check is in the original cryptsetup binary as well, so
it's no new limitation.
(v2: changed the point at which the /= 8 is performed, rebased, removed tabs)
Diffstat (limited to 'src/libsystemd/sd-resolve/test-resolve.c')
0 files changed, 0 insertions, 0 deletions