mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Add api exposing external token handlers support.
This commit is contained in:
@@ -38,6 +38,15 @@ static struct crypt_token_handler_internal token_handlers[LUKS2_TOKENS_MAX] = {
|
||||
}
|
||||
};
|
||||
|
||||
int crypt_token_external_support(void)
|
||||
{
|
||||
#if USE_EXTERNAL_TOKENS
|
||||
return 0;
|
||||
#else
|
||||
return -ENOTSUP;
|
||||
#endif
|
||||
}
|
||||
|
||||
#if USE_EXTERNAL_TOKENS
|
||||
static void *token_dlvsym(struct crypt_device *cd,
|
||||
void *handle,
|
||||
|
||||
Reference in New Issue
Block a user