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:
Michael Catanzaro 2020-05-05 13:58:07 -05:00
parent fbba0d4556
commit 407b86afb8
2 changed files with 2 additions and 2 deletions

View File

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

View File

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