[glib/mcatanzaro/gtlsdatabase-docs: 2/3] gtlsdatabase: tone down warning about g_tls_database_verify_chain()




commit 5e446ceeef989ca86ea97814343e8774c36b9dfa
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Tue Nov 9 17:14:30 2021 -0600

    gtlsdatabase: tone down warning about g_tls_database_verify_chain()
    
    This is only true for the default GnuTLS backend. It is not true for the
    OpenSSL backend, so let's say "may" instead of "will."

 gio/gtlsdatabase.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gtlsdatabase.c b/gio/gtlsdatabase.c
index 71e90a262..22cc7f415 100644
--- a/gio/gtlsdatabase.c
+++ b/gio/gtlsdatabase.c
@@ -503,8 +503,8 @@ g_tls_database_class_init (GTlsDatabaseClass *klass)
  *
  * Because TLS session context is not used, #GTlsDatabase may not
  * perform as many checks on the certificates as #GTlsConnection would.
- * For example, certificate constraints cannot be honored, and some
- * revocation checks cannot be performed. The best way to verify TLS
+ * For example, certificate constraints may not be honored, and
+ * revocation checks may not be performed. The best way to verify TLS
  * certificates used by a TLS connection is to let #GTlsConnection
  * handle the verification.
  *


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