This is an automated email from the ASF dual-hosted git repository.

wkaras pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 5c65bcb  Remove unused enums from YamlSNIConfig struct. (#7565)
5c65bcb is described below

commit 5c65bcb4d0739cbadd09fab3d836110d529d48d2
Author: Walt Karas <[email protected]>
AuthorDate: Fri Feb 26 16:14:10 2021 -0600

    Remove unused enums from YamlSNIConfig struct. (#7565)
---
 iocore/net/YamlSNIConfig.h | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/iocore/net/YamlSNIConfig.h b/iocore/net/YamlSNIConfig.h
index 0640f31..47c2fa6 100644
--- a/iocore/net/YamlSNIConfig.h
+++ b/iocore/net/YamlSNIConfig.h
@@ -49,25 +49,10 @@ TSDECL(http2);
 TSDECL(host_sni_policy);
 #undef TSDECL
 
-const int start = 0;
 struct YamlSNIConfig {
-  enum class Action {
-    verify_client = start,
-    verify_client_ca_certs,
-    tunnel_route,             // blind tunnel action
-    forward_route,            // decrypt data and then blind tunnel action
-    partial_blind_route,      // decrypt data; partial blind routing
-    verify_server_policy,     // this applies to server side vc only
-    verify_server_properties, // this applies to server side vc only
-    client_cert,
-    h2,             // this applies to client side only
-    host_sni_policy // Applies to client side only
-  };
-  enum class Level { NONE = 0, MODERATE, STRICT };
   enum class Policy : uint8_t { DISABLED = 0, PERMISSIVE, ENFORCED, UNSET };
   enum class Property : uint8_t { NONE = 0, SIGNATURE_MASK = 0x1, NAME_MASK = 
0x2, ALL_MASK = 0x3, UNSET };
   enum class TLSProtocol : uint8_t { TLSv1 = 0, TLSv1_1, TLSv1_2, TLSv1_3, 
TLS_MAX = TLSv1_3 };
-  enum class Control : uint8_t { NONE = 0, ENABLE, DISABLE };
 
   YamlSNIConfig() {}
 

Reply via email to