]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
lib: crypto: fix ASYMMETRIC_KEY_TYPE dependency
authorTomas Paukrt <tomaspaukrt@email.cz>
Tue, 27 Aug 2024 17:38:09 +0000 (19:38 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 30 Aug 2024 19:57:05 +0000 (13:57 -0600)
Fix the dependency to avoid a warning if RSA_VERIFY_WITH_PKEY is enabled.

Fixes: b7463f198da6 ("Make ASYMMETRIC_KEY_TYPE depend on FIT_SIGNATURE")
Signed-off-by: Tomas Paukrt <tomaspaukrt@email.cz>
lib/crypto/Kconfig

index 6e0656ad1c568dbfd34b32091e4de42aa9cb8468..742f6d9d4ed687509aa7d6c1b7fd72759f976990 100644 (file)
@@ -1,6 +1,6 @@
 menuconfig ASYMMETRIC_KEY_TYPE
        bool "Asymmetric (public-key cryptographic) key Support"
-       depends on FIT_SIGNATURE
+       depends on FIT_SIGNATURE || RSA_VERIFY_WITH_PKEY
        help
          This option provides support for a key type that holds the data for
          the asymmetric keys used for public key cryptographic operations such