summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2004-05-13 08:32:23 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2004-05-13 08:32:23 +0000
commitcf6906ed779ca092b84f523987a3650661d790a8 (patch)
tree5bb2cbf551f9efc883238e67c063eae09593c4a0 /src
parent0a8b936bd02cd6b04f87c9a179532ac8d22655ff (diff)
downloadgnutls-cf6906ed779ca092b84f523987a3650661d790a8.tar.gz
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/certtool-cfg.c5
-rw-r--r--src/prime.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/src/certtool-cfg.c b/src/certtool-cfg.c
index fe611de10e..dad606ff4c 100644
--- a/src/certtool-cfg.c
+++ b/src/certtool-cfg.c
@@ -18,6 +18,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
+#include <config.h>
+
+#ifdef ENABLE_PKI
+
#include <stdio.h>
#include <stdlib.h>
#include <certtool-cfg.h>
@@ -655,3 +659,4 @@ int ret;
}
+#endif
diff --git a/src/prime.c b/src/prime.c
index afa4581109..13c078027c 100644
--- a/src/prime.c
+++ b/src/prime.c
@@ -19,6 +19,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
+#include <config.h>
+
+#ifdef ENABLE_PKI
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -130,3 +134,5 @@ int generate_prime(int bits)
return 0;
}
+
+#endif