[glib] tls: Clarify docs for g_tls_client_connection_set_validation_flags()



commit c59ba60fbe0ad4d45b2d84608bece5bb032c3aa9
Author: Benjamin Otte <otte redhat com>
Date:   Tue Dec 7 15:42:10 2010 +0100

    tls: Clarify docs for g_tls_client_connection_set_validation_flags()
    
    And fix a typo in there.

 gio/gtlsclientconnection.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gio/gtlsclientconnection.c b/gio/gtlsclientconnection.c
index 44aa297..ec50f39 100644
--- a/gio/gtlsclientconnection.c
+++ b/gio/gtlsclientconnection.c
@@ -199,10 +199,11 @@ g_tls_client_connection_get_validation_flags (GTlsClientConnection *conn)
 /**
  * g_tls_client_connection_set_validation_flags:
  * @conn: the #GTlsClientConnection
- * @flags: the #GTlsCertificatelags to use
+ * @flags: the #GTlsCertificateFlags to use
  *
  * Sets @conn's validation flags, to override the default set of
- * checks performed when validating a server certificate.
+ * checks performed when validating a server certificate. By default,
+ * %G_TLS_CERTIFICATE_VALIDATE_ALL is used.
  *
  * Since: 2.28
  */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]