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:
Ondrej Kozina
2021-06-29 11:16:49 +02:00
committed by Milan Broz
parent df7a995fa2
commit 6633fa626a
4 changed files with 8 additions and 15 deletions

View File

@@ -2254,13 +2254,6 @@ typedef struct {
*/
int crypt_token_register(const crypt_token_handler *handler);
/**
* Report external token handlers (plugins) support
*
* @return @e 0 when enabled or negative errno value otherwise.
*/
int crypt_token_external_support(void);
/**
* Report configured path where library searches for external token handlers
*