summaryrefslogtreecommitdiff
path: root/doc/examples/ex-verify.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-01-31 22:19:02 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-01-31 22:30:31 +0100
commit115ea68a5986c63dab5524794b8e65c971d8380d (patch)
treeab063a0d2be20cd75184af59c6e4e2de37bdd669 /doc/examples/ex-verify.c
parent441eccc7be861374b9b4ef4aeca15a25655ef5c4 (diff)
downloadgnutls-115ea68a5986c63dab5524794b8e65c971d8380d.tar.gz
The internal subsystem uses the new certificate verification functions.
This has the side effect of deprecating gnutls_certificate_get_x509_crls() and gnutls_certificate_get_x509_cas() that can no longer operation since they relied on internal structures.
Diffstat (limited to 'doc/examples/ex-verify.c')
-rw-r--r--doc/examples/ex-verify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/ex-verify.c b/doc/examples/ex-verify.c
index 302892657f..f71039ad41 100644
--- a/doc/examples/ex-verify.c
+++ b/doc/examples/ex-verify.c
@@ -41,8 +41,8 @@ verify_certificate_chain (gnutls_session_t session,
unsigned int output;
/* Initialize the trusted certificate list. This should be done
- * once on initialization. gnutls_x509_crt_list_import() and
- * gnutls_x509_crl_list_import() can be used to load them.
+ * once on initialization. gnutls_x509_crt_list_import2() and
+ * gnutls_x509_crl_list_import2() can be used to load them.
*/
gnutls_x509_trust_list_init(&tlist);