mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Remove unused crypt_token_external_support.
API can expose same information with crypt_token_external_path. Also add print out of external token in cryptsetup --help action (if enabled)
This commit is contained in:
committed by
Milan Broz
parent
df7a995fa2
commit
6633fa626a
@@ -49,11 +49,6 @@ void crypt_token_external_disable(void)
|
||||
external_tokens_enabled = false;
|
||||
}
|
||||
|
||||
int crypt_token_external_support(void)
|
||||
{
|
||||
return external_tokens_enabled ? 0 : -ENOTSUP;
|
||||
}
|
||||
|
||||
const char *crypt_token_external_path(void)
|
||||
{
|
||||
return external_tokens_enabled ? EXTERNAL_LUKS2_TOKENS_PATH : NULL;
|
||||
|
||||
Reference in New Issue
Block a user