summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-10 13:39:11 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-10 13:39:49 +0100
commit3ccc4cf605dcb2007305aa44bb9d0241b31e74f4 (patch)
tree6afd72f0c744ac9d89e1e23ace98e6f33f2215f3 /src
parent897bfb3db9ba20a87ba84c23301f2ab605c35f48 (diff)
downloadgnutls-3ccc4cf605dcb2007305aa44bb9d0241b31e74f4.tar.gz
ENABLE_PKI is no more
Diffstat (limited to 'src')
-rw-r--r--src/cli.c2
-rw-r--r--src/dh.c3
-rw-r--r--src/serv.c2
3 files changed, 0 insertions, 7 deletions
diff --git a/src/cli.c b/src/cli.c
index c3194c6055..7953728b90 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -1409,7 +1409,6 @@ init_global_tls_stuff (void)
printf ("Processed %d CA certificate(s).\n", ret);
}
}
-#ifdef ENABLE_PKI
if (x509_crlfile != NULL)
{
ret = gnutls_certificate_set_x509_crl_file (xcred, x509_crlfile,
@@ -1423,7 +1422,6 @@ init_global_tls_stuff (void)
printf ("Processed %d CRL(s).\n", ret);
}
}
-#endif
load_keys ();
diff --git a/src/dh.c b/src/dh.c
index 3c0eacbb17..88845bf231 100644
--- a/src/dh.c
+++ b/src/dh.c
@@ -20,8 +20,6 @@
#include <config.h>
-#ifdef ENABLE_PKI
-
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -241,4 +239,3 @@ generate_prime (int how, common_info_st * info)
return 0;
}
-#endif
diff --git a/src/serv.c b/src/serv.c
index d2277cb41e..33b0fe9fec 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -988,7 +988,6 @@ main (int argc, char **argv)
printf ("Processed %d CA certificate(s).\n", ret);
}
}
-#ifdef ENABLE_PKI
if (x509_crlfile != NULL)
{
if ((ret = gnutls_certificate_set_x509_crl_file
@@ -1003,7 +1002,6 @@ main (int argc, char **argv)
printf ("Processed %d CRL(s).\n", ret);
}
}
-#endif
#ifdef ENABLE_OPENPGP
if (pgp_keyring != NULL)