summaryrefslogtreecommitdiffstats
path: root/src/home/homework-luks.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-05-31 22:50:44 +0200
committerLennart Poettering <lennart@poettering.net>2021-06-01 13:32:40 +0200
commit71eceff645c94333a269245fb5e39801cd163f5f (patch)
tree6316ec9451dfce545847e61c09bf43b5aea305c3 /src/home/homework-luks.h
parenthomework: fix return codes when using fido2/pkcs11 cached passwords (diff)
downloadsystemd-71eceff645c94333a269245fb5e39801cd163f5f.tar.xz
systemd-71eceff645c94333a269245fb5e39801cd163f5f.zip
homework: make libcryptsetup dep runtime optional
Diffstat (limited to 'src/home/homework-luks.h')
-rw-r--r--src/home/homework-luks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/homework-luks.h b/src/home/homework-luks.h
index c43bdfcba3..8764862bd2 100644
--- a/src/home/homework-luks.h
+++ b/src/home/homework-luks.h
@@ -31,7 +31,7 @@ static inline uint64_t luks_volume_key_size_convert(struct crypt_device *cd) {
/* Convert the "int" to uint64_t, which we usually use for byte sizes stored on disk. */
- k = crypt_get_volume_key_size(cd);
+ k = sym_crypt_get_volume_key_size(cd);
if (k <= 0)
return UINT64_MAX;