summaryrefslogtreecommitdiff
path: root/rsa-decrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'rsa-decrypt.c')
-rw-r--r--rsa-decrypt.c8
1 files changed, 8 insertions, 0 deletions
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 */