[geary/gnumdk/build] Test build




commit d32565a23df90002ee5234c4a0095860ee568c97
Author: Cédric Bellegarde <cedric bellegarde adishatz org>
Date:   Sun Jul 24 17:39:07 2022 +0200

    Test build

 src/engine/api/geary-endpoint.vala | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/src/engine/api/geary-endpoint.vala b/src/engine/api/geary-endpoint.vala
index f986ed613..0e706e50f 100644
--- a/src/engine/api/geary-endpoint.vala
+++ b/src/engine/api/geary-endpoint.vala
@@ -66,11 +66,6 @@ public class Geary.Endpoint : BaseObject {
     /** Transport security method to use when connecting. */
     public TlsNegotiationMethod tls_method { get; private set; }
 
-    /** Transport security certificate validation requirements. */
-    public TlsCertificateFlags tls_validation_flags {
-        get; set; default = TlsCertificateFlags.VALIDATE_ALL;
-    }
-
     /**
      * When set, TLS has reported certificate issues.
      *
@@ -172,7 +167,6 @@ public class Geary.Endpoint : BaseObject {
 
         if (this.tls_method == TlsNegotiationMethod.TRANSPORT) {
             socket_client.set_tls(true);
-            socket_client.set_tls_validation_flags(tls_validation_flags);
             socket_client.event.connect(on_socket_client_event);
         }
 
@@ -185,7 +179,6 @@ public class Geary.Endpoint : BaseObject {
         // Setting this on Ubuntu 18.04 breaks some TLS
         // connections. See issue #217.
         // tls_cx.server_identity = this.remote;
-        tls_cx.validation_flags = this.tls_validation_flags;
         if (Endpoint.default_tls_database != null) {
             tls_cx.set_database(Endpoint.default_tls_database);
         }


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