summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2004-06-12 08:55:58 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2004-06-12 08:55:58 +0000
commit4f5400837421e37c21a883cdf752516f54e9e433 (patch)
treedf38a23c757251a82d8e5279a2fa9ef88542d81b /includes
parenta6426a1d8b3226a4ce4cd6ee3871d7165396001a (diff)
downloadgnutls-4f5400837421e37c21a883cdf752516f54e9e433.tar.gz
added an improved verification example.
Diffstat (limited to 'includes')
-rw-r--r--includes/gnutls/x509.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/gnutls/x509.h b/includes/gnutls/x509.h
index 15a2a19683..e644f78fab 100644
--- a/includes/gnutls/x509.h
+++ b/includes/gnutls/x509.h
@@ -294,19 +294,19 @@ int gnutls_x509_crt_check_issuer( gnutls_x509_crt cert,
gnutls_x509_crt issuer);
int gnutls_x509_crt_list_verify( gnutls_x509_crt* cert_list, int cert_list_length,
- gnutls_x509_crt * CA_list, int CA_list_length,
- gnutls_x509_crl* CRL_list, int CRL_list_length,
+ const gnutls_x509_crt * CA_list, int CA_list_length,
+ const gnutls_x509_crl* CRL_list, int CRL_list_length,
unsigned int flags, unsigned int *verify);
int gnutls_x509_crt_verify( gnutls_x509_crt cert,
- gnutls_x509_crt *CA_list, int CA_list_length,
+ const gnutls_x509_crt *CA_list, int CA_list_length,
unsigned int flags, unsigned int *verify);
int gnutls_x509_crl_verify( gnutls_x509_crl crl,
- gnutls_x509_crt *CA_list, int CA_list_length,
+ const gnutls_x509_crt *CA_list, int CA_list_length,
unsigned int flags, unsigned int *verify);
int gnutls_x509_crt_check_revocation(gnutls_x509_crt cert,
- gnutls_x509_crl * crl_list,
+ const gnutls_x509_crl * crl_list,
int crl_list_length);
int gnutls_x509_crt_get_fingerprint(gnutls_x509_crt cert,