mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-17 12:58:48 +02:00
Improve documentation of client connection validation flags
Validation fails if ANY of the flags are set. Not if they're ALL set. This is obvious and no programmer would be confused, but let's fix it anyway.
This commit is contained in:
parent
fbba0d4556
commit
407b86afb8
@ -59,7 +59,7 @@ g_dtls_client_connection_default_init (GDtlsClientConnectionInterface *iface)
|
||||
* GDtlsClientConnection:validation-flags:
|
||||
*
|
||||
* What steps to perform when validating a certificate received from
|
||||
* a server. Server certificates that fail to validate in all of the
|
||||
* a server. Server certificates that fail to validate in any of the
|
||||
* ways indicated here will be rejected unless the application
|
||||
* overrides the default via #GDtlsConnection::accept-certificate.
|
||||
*
|
||||
|
@ -55,7 +55,7 @@ g_tls_client_connection_default_init (GTlsClientConnectionInterface *iface)
|
||||
* GTlsClientConnection:validation-flags:
|
||||
*
|
||||
* What steps to perform when validating a certificate received from
|
||||
* a server. Server certificates that fail to validate in all of the
|
||||
* a server. Server certificates that fail to validate in any of the
|
||||
* ways indicated here will be rejected unless the application
|
||||
* overrides the default via #GTlsConnection::accept-certificate.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user