From 4989da7db07cc7f7902cfa851e465ace61f1c0e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Mon, 30 Dec 2002 23:33:44 +0100
Subject: [PATCH] * 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
---
 rsa-compat.c | 7 +++++++
 1 file changed, 7 insertions(+)

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 */
-- 
GitLab