tls: Clarify docs for g_tls_client_connection_set_validation_flags()

And fix a typo in there.
This commit is contained in:
Benjamin Otte 2010-12-07 15:42:10 +01:00
parent 85adbc99bf
commit c59ba60fbe

View File

@ -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
*/