diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-12-13 17:11:45 +0100 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2021-12-24 10:24:30 -0500 |
commit | 54bf7fa3efd08eea03e4bac04e188ee3db6173a7 (patch) | |
tree | 8e8d3874be2afab5e1ca90498ae603abf5165e9c /crypto/sm2.c | |
parent | 136057256686de39cc3a07c2e39ef6bc43003ff6 (diff) |
ima: Fix undefined arch_ima_get_secureboot() and co
Currently arch_ima_get_secureboot() and arch_get_ima_policy() are
defined only when CONFIG_IMA is set, and this makes any code calling
those functions without CONFIG_IMA fail.
Move the declaration and the dummy definition of those functions
outside ifdef-CONFIG_IMA block for fixing the undefined symbols.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
[zohar@linux.ibm.com: removed in-tree/out-of-tree comment in patch description]
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'crypto/sm2.c')
0 files changed, 0 insertions, 0 deletions