
7 Dec
2022
7 Dec
'22
2:08 a.m.
On Wed, 7 Dec 2022 at 07:51, Tom Rini trini@konsulko.com wrote:
While we do not want to use CONFIG_RSA_VERIFY_WITH_PKEY on the host, we cannot undef the symbol in this manner. As this ends up being a test within another function we can use !tools_build() as a test here.
Cc: AKASHI Takahiro takahiro.akashi@linaro.org Cc: Simon Glass sjg@chromium.org Signed-off-by: Tom Rini trini@konsulko.com
Changes in v3:
- Move comment, per Akashi-san
Changes in v2:
- Switch to !tools_build() per Simon
lib/rsa/rsa-verify.c | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org