summaryrefslogtreecommitdiff
path: root/lib/gnutls_x509.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-03-30 09:52:23 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-03-30 09:52:23 +0000
commit8c7f01172f63f62bbbb34ff21bee50b28a71b0aa (patch)
tree22dcc04dcf1e25802bcb12d68bbe1f0c41bb0bdd /lib/gnutls_x509.c
parent5a197aa0a2cfafaa60db1eb0e24cdaaab45d6ae5 (diff)
downloadgnutls-8c7f01172f63f62bbbb34ff21bee50b28a71b0aa.tar.gz
Removed the CRL list parameter from gnutls_certificate_set_x509_trust_*.
Diffstat (limited to 'lib/gnutls_x509.c')
-rw-r--r--lib/gnutls_x509.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c
index aff90cf076..27fb20d458 100644
--- a/lib/gnutls_x509.c
+++ b/lib/gnutls_x509.c
@@ -1522,15 +1522,14 @@ opaque *pdata;
* gnutls_certificate_set_x509_trust_mem - Used to add trusted CAs in a GNUTLS_CERTIFICATE_CREDENTIALS structure
* @res: is an &GNUTLS_CERTIFICATE_CREDENTIALS structure.
* @CA: is a list of trusted CAs or a DER certificate
- * @CRL: is a list of CRLs (ignored for now)
* @type: is DER or PEM
*
* This function adds the trusted CAs in order to verify client
* certificates. This function may be called multiple times.
*
**/
-int gnutls_certificate_set_x509_trust_mem(GNUTLS_CERTIFICATE_CREDENTIALS res, const gnutls_datum *CA,
- const gnutls_datum *CRL, GNUTLS_X509_CertificateFmt type)
+int gnutls_certificate_set_x509_trust_mem(GNUTLS_CERTIFICATE_CREDENTIALS res,
+ const gnutls_datum *CA, GNUTLS_X509_CertificateFmt type)
{
int ret, ret2;
@@ -1547,7 +1546,6 @@ int gnutls_certificate_set_x509_trust_mem(GNUTLS_CERTIFICATE_CREDENTIALS res, co
* gnutls_certificate_set_x509_trust_file - Used to add trusted CAs in a GNUTLS_CERTIFICATE_CREDENTIALS structure
* @res: is an &GNUTLS_CERTIFICATE_CREDENTIALS structure.
* @CAFILE: is a file containing the list of trusted CAs (DER or PEM list)
- * @CRLFILE: is a file containing CRLs (ignored for now)
* @type: is PEM or DER
*
* This function sets the trusted CAs in order to verify client
@@ -1555,8 +1553,8 @@ int gnutls_certificate_set_x509_trust_mem(GNUTLS_CERTIFICATE_CREDENTIALS res, co
* Returns the number of certificate processed.
*
**/
-int gnutls_certificate_set_x509_trust_file(GNUTLS_CERTIFICATE_CREDENTIALS res, char *CAFILE,
- char *CRLFILE, GNUTLS_X509_CertificateFmt type)
+int gnutls_certificate_set_x509_trust_file(GNUTLS_CERTIFICATE_CREDENTIALS res,
+ char *CAFILE, GNUTLS_X509_CertificateFmt type)
{
int ret, ret2;