summaryrefslogtreecommitdiffstats
path: root/src/cryptsetup/cryptsetup-pkcs11.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-12-17 18:40:46 +0100
committerLennart Poettering <lennart@poettering.net>2019-12-17 18:54:07 +0100
commit6789dd57f0a0b6caf764ce43b9233745c7e040ae (patch)
tree51e982e4952c89f67f450b07510fe713c21dd844 /src/cryptsetup/cryptsetup-pkcs11.c
parentcryptsetup-pkcs11: line break some overly long lines (diff)
downloadsystemd-6789dd57f0a0b6caf764ce43b9233745c7e040ae.tar.xz
systemd-6789dd57f0a0b6caf764ce43b9233745c7e040ae.zip
cryptsetup-pkcs11: just return zero on success, no need to return anything else
Diffstat (limited to '')
-rw-r--r--src/cryptsetup/cryptsetup-pkcs11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptsetup/cryptsetup-pkcs11.c b/src/cryptsetup/cryptsetup-pkcs11.c
index fab705708b..ec9186a6aa 100644
--- a/src/cryptsetup/cryptsetup-pkcs11.c
+++ b/src/cryptsetup/cryptsetup-pkcs11.c
@@ -154,7 +154,7 @@ static int pkcs11_callback(
if (r < 0)
return r;
- return 1;
+ return 0;
}
int decrypt_pkcs11_key(