From: Niels Möller Date: Mon, 30 Dec 2002 22:33:44 +0000 (+0100) Subject: * rsa-decrypt.c: Make compilation conditional on WITH_PUBLIC_KEY. X-Git-Tag: nettle_1.7_release_20030311~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4989da7db07cc7f7902cfa851e465ace61f1c0e8;p=thirdparty%2Fnettle.git * rsa-decrypt.c: Make compilation conditional on WITH_PUBLIC_KEY. * rsa-encrypt.c: Likewise. * rsa-compat.c: Likewise. Rev: src/nettle/rsa-compat.c:1.6 --- diff --git a/rsa-compat.c b/rsa-compat.c index 79e3858f..edcc0ddd 100644 --- a/rsa-compat.c +++ b/rsa-compat.c @@ -23,6 +23,12 @@ * MA 02111-1307, USA. */ +#if HAVE_CONFIG_H +#include "config.h" +#endif + +#if WITH_PUBLIC_KEY + #include "rsa-compat.h" #include "bignum.h" @@ -149,3 +155,4 @@ R_VerifyFinal(R_SIGNATURE_CTX *ctx, return res; } +#endif /* WITH_PUBLIC_KEY */