From 88486427349d3aa4605b4ae3398dd0fb866d0676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Mon, 30 Dec 2002 22:09:31 +0100 Subject: * rsa-decrypt.c: Make compilation conditional on WITH_PUBLIC_KEY. * rsa-encrypt.c: Likewise. Rev: src/nettle/rsa-decrypt.c:1.3 Rev: src/nettle/rsa-encrypt.c:1.4 --- rsa-decrypt.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'rsa-decrypt.c') diff --git a/rsa-decrypt.c b/rsa-decrypt.c index dfdf089f..41f720a0 100644 --- a/rsa-decrypt.c +++ b/rsa-decrypt.c @@ -23,6 +23,12 @@ * MA 02111-1307, USA. */ +#if HAVE_CONFIG_H +#include "config.h" +#endif + +#if WITH_PUBLIC_KEY + #include "rsa.h" #include "bignum.h" @@ -73,3 +79,5 @@ rsa_decrypt(const struct rsa_private_key *key, return 1; } + +#endif /* WITH_PUBLIC_KEY */ -- cgit v1.2.1