Re: [PATCH v2] crypto: public_key: select CRYPTO_AKCIPHER

From: Herbert Xu
Date: Thu May 19 2016 - 06:01:40 EST


On Wed, May 18, 2016 at 04:55:56PM +0200, Arnd Bergmann wrote:
> In some rare randconfig builds, we can end up with
> ASYMMETRIC_PUBLIC_KEY_SUBTYPE enabled but CRYPTO_AKCIPHER disabled,
> which fails to link because of the reference to crypto_alloc_akcipher:
>
> crypto/built-in.o: In function `public_key_verify_signature':
> :(.text+0x110e4): undefined reference to `crypto_alloc_akcipher'
>
> This adds a Kconfig 'select' statement to ensure the dependency
> is always there.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Patch applied. Thanks!
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt