summaryrefslogtreecommitdiff
path: root/lib/auto-verify.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-08-24 13:39:33 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-08-24 13:39:33 +0200
commit272391c309f81b598ba714746203967b2dc1f5cd (patch)
tree449c6c3aa22c67b6e9852234f8a54e37b860cca0 /lib/auto-verify.c
parent25f2b0814401d1e9c98f3fdc833e09b3c877fc72 (diff)
downloadgnutls-272391c309f81b598ba714746203967b2dc1f5cd.tar.gz
Document the new verification functions
Diffstat (limited to 'lib/auto-verify.c')
-rw-r--r--lib/auto-verify.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/auto-verify.c b/lib/auto-verify.c
index b1d3a1c752..f2dae0d6df 100644
--- a/lib/auto-verify.c
+++ b/lib/auto-verify.c
@@ -64,9 +64,10 @@ static int auto_verify_cb(gnutls_session_t session)
* will also fail. The verification result can be obtained using
* gnutls_session_get_verify_cert_status().
*
- * The hostname pointer provided must remain valid for the lifetime
+ * The @hostname pointer provided must remain valid for the lifetime
* of the session. If not hostname is provided, no hostname verification
- * will be performed.
+ * will be performed. For a more advanced verification function check
+ * gnutls_session_auto_verify_cert2().
*
* That function is intended to be used by clients.
*