summaryrefslogtreecommitdiff
path: root/lib/x509/mpi.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-01-10 12:30:11 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-01-10 12:31:21 +0100
commit581718c927838474200c305587241ae15511cb82 (patch)
treeb38b58361529e65c588a66b2e3425f744f83b040 /lib/x509/mpi.c
parent74d964c9f72bfa238ad485f20e46ece4336556eb (diff)
downloadgnutls-581718c927838474200c305587241ae15511cb82.tar.gz
Corrections for --disable-extra-pki configure flag to work. Patch by Bill Randle.
Diffstat (limited to 'lib/x509/mpi.c')
-rw-r--r--lib/x509/mpi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/x509/mpi.c b/lib/x509/mpi.c
index 6e567f65a5..b26e5399e9 100644
--- a/lib/x509/mpi.c
+++ b/lib/x509/mpi.c
@@ -331,6 +331,8 @@ _gnutls_x509_crt_get_mpis (gnutls_x509_crt_t cert,
params_size);
}
+#ifdef ENABLE_PKI
+
/* Extracts DSA and RSA parameters from a certificate.
*/
int
@@ -348,6 +350,8 @@ _gnutls_x509_crq_get_mpis (gnutls_x509_crq_t cert,
params_size);
}
+#endif
+
/*
* some x509 certificate functions that relate to MPI parameter
* setting. This writes the BIT STRING subjectPublicKey.