提交 60eb5da2 编写于 作者: A Arnd Bergmann 提交者: Richard Weinberger

ubifs: auth: Add CONFIG_KEYS dependency

The new authentication support causes a build failure
when CONFIG_KEYS is disabled, so add a dependency.

fs/ubifs/auth.c: In function 'ubifs_init_authentication':
fs/ubifs/auth.c:249:16: error: implicit declaration of function 'request_key'; did you mean 'request_irq'? [-Werror=implicit-function-declaration]
  keyring_key = request_key(&key_type_logon, c->auth_key_name, NULL);

Fixes: d8a22773 ("ubifs: Enable authentication support")
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NRichard Weinberger <richard@nod.at>
上级 aa3d31e0
......@@ -86,6 +86,7 @@ config UBIFS_FS_SECURITY
config UBIFS_FS_AUTHENTICATION
bool "UBIFS authentication support"
depends on KEYS
select CRYPTO_HMAC
help
Enable authentication support for UBIFS. This feature offers protection
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部