tree-wide: yet another batch of coccinelle recommendations
Prettify certain parts of the codebase using coccinelle transformations (no functional changes).
This commit is contained in:
committed by
Lennart Poettering
parent
48d0248e6d
commit
e514aa1eea
@@ -455,10 +455,10 @@ static int attach_tcrypt(
|
||||
assert(name);
|
||||
assert(key_file || (passwords && passwords[0]));
|
||||
|
||||
if (arg_pkcs11_uri) {
|
||||
log_error("Sorry, but tcrypt devices are currently not supported in conjunction with pkcs11 support.");
|
||||
return -EAGAIN; /* Ask for a regular password */
|
||||
}
|
||||
if (arg_pkcs11_uri)
|
||||
/* Ask for a regular password */
|
||||
return log_error_errno(SYNTHETIC_ERRNO(EAGAIN),
|
||||
"Sorry, but tcrypt devices are currently not supported in conjunction with pkcs11 support.");
|
||||
|
||||
if (arg_tcrypt_hidden)
|
||||
params.flags |= CRYPT_TCRYPT_HIDDEN_HEADER;
|
||||
|
||||
Reference in New Issue
Block a user