From 6789dd57f0a0b6caf764ce43b9233745c7e040ae Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 17 Dec 2019 18:40:46 +0100 Subject: [PATCH] cryptsetup-pkcs11: just return zero on success, no need to return anything else --- src/cryptsetup/cryptsetup-pkcs11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptsetup/cryptsetup-pkcs11.c b/src/cryptsetup/cryptsetup-pkcs11.c index fab705708b2..ec9186a6aaa 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(