[glib-networking] Revert "Warn when performing certificate verification if server-identity is NULL"
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking] Revert "Warn when performing certificate verification if server-identity is NULL"
- Date: Mon, 4 May 2020 22:34:47 +0000 (UTC)
commit ebac9da6596c87eb53f803829865d7d5b4c5d3c7
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon May 4 22:34:41 2020 +0000
Revert "Warn when performing certificate verification if server-identity is NULL"
This reverts commit 412a9cff10b0d69f047038ec38a1007541346c10
tls/base/gtlsconnection-base.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/tls/base/gtlsconnection-base.c b/tls/base/gtlsconnection-base.c
index 03e1e0d..f7ad660 100644
--- a/tls/base/gtlsconnection-base.c
+++ b/tls/base/gtlsconnection-base.c
@@ -1247,9 +1247,6 @@ verify_peer_certificate (GTlsConnectionBase *tls,
else
peer_identity = g_dtls_client_connection_get_server_identity (G_DTLS_CLIENT_CONNECTION (tls));
- if (is_client && !peer_identity)
- g_warning ("GTlsClientConnection certificate verification will fail because its server-identity property
is NULL. Fix your application!");
-
errors = 0;
database = g_tls_connection_get_database (G_TLS_CONNECTION (tls));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]