summaryrefslogtreecommitdiff
path: root/lib/x509/pkcs7.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-04-01 18:50:26 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-04-01 18:50:26 +0000
commit80ba67b530a243e56c8d7e1bac93efe485875880 (patch)
treec1f4d03c49400b7ab20da34ea632287cb53f3520 /lib/x509/pkcs7.c
parent9fce98e569983b9881c252b5b6dafd1247e719f7 (diff)
downloadgnutls-80ba67b530a243e56c8d7e1bac93efe485875880.tar.gz
Added the --disable-extra-pki configure option, which disables all extra PKI stuff like PKCS #7, PKCS #10 etc. To be used in constraint systems.
Diffstat (limited to 'lib/x509/pkcs7.c')
-rw-r--r--lib/x509/pkcs7.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/x509/pkcs7.c b/lib/x509/pkcs7.c
index 1257233e87..3e5e230096 100644
--- a/lib/x509/pkcs7.c
+++ b/lib/x509/pkcs7.c
@@ -24,6 +24,9 @@
#include <libtasn1.h>
#include <gnutls_int.h>
+
+#ifdef ENABLE_PKI
+
#include <gnutls_datum.h>
#include <gnutls_global.h>
#include <gnutls_errors.h>
@@ -827,3 +830,5 @@ int gnutls_pkcs7_delete_crl(gnutls_pkcs7 pkcs7, int indx)
if (c2) asn1_delete_structure(&c2);
return result;
}
+
+#endif /* ENABLE_PKI */