From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752216Ab3JCI0G (ORCPT ); Thu, 3 Oct 2013 04:26:06 -0400 Received: from mail.skyhub.de ([78.46.96.112]:54115 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752347Ab3JCI0D (ORCPT ); Thu, 3 Oct 2013 04:26:03 -0400 Date: Thu, 3 Oct 2013 10:25:56 +0200 From: Borislav Petkov To: Jim Davis Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org Subject: [PATCH] crypto: Correct RSA MPI dependency Message-ID: <20131003082556.GB8917@pd.tnic> References: <20131002235615.GA7419@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 02, 2013 at 07:54:01PM -0700, Jim Davis wrote: > Yes, with the change that configuration file didn't generate a build > error. Tested-by: jim.epost@gmail.com (if it isn't overkill for for an > obvious patch!). Thanks. Of course not. :) --- From: Borislav Petkov Subject: [PATCH] crypto: Correct RSA MPI dependency 9e235dcaf4f6 ("Revert "crypto: GnuPG based MPI lib - additional sources (part 4)") removed the MPI lib extra stuff but left RSA selecting it while it should select CONFIG_MPILIB instead. Fix it. Reported-and-tested-by: Jim Davis Cc: Herbert Xu Cc: "David S. Miller" Cc: David Howells Signed-off-by: Borislav Petkov --- crypto/asymmetric_keys/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/asymmetric_keys/Kconfig b/crypto/asymmetric_keys/Kconfig index 6d2c2ea12559..755f6174585a 100644 --- a/crypto/asymmetric_keys/Kconfig +++ b/crypto/asymmetric_keys/Kconfig @@ -21,7 +21,7 @@ config ASYMMETRIC_PUBLIC_KEY_SUBTYPE config PUBLIC_KEY_ALGO_RSA tristate "RSA public-key algorithm" depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE - select MPILIB_EXTRA + select MPILIB help This option enables support for the RSA algorithm (PKCS#1, RFC3447). -- 1.8.4 -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. --