aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tls/tls_extensions.h20
-rw-r--r--src/tls/tls_magic.h20
2 files changed, 20 insertions, 20 deletions
diff --git a/src/tls/tls_extensions.h b/src/tls/tls_extensions.h
index 36c41c9a5..180216b8b 100644
--- a/src/tls/tls_extensions.h
+++ b/src/tls/tls_extensions.h
@@ -20,6 +20,26 @@ namespace TLS {
class TLS_Data_Reader;
+enum Handshake_Extension_Type {
+ TLSEXT_SERVER_NAME_INDICATION = 0,
+ TLSEXT_MAX_FRAGMENT_LENGTH = 1,
+ TLSEXT_CLIENT_CERT_URL = 2,
+ TLSEXT_TRUSTED_CA_KEYS = 3,
+ TLSEXT_TRUNCATED_HMAC = 4,
+
+ TLSEXT_CERTIFICATE_TYPES = 9,
+ TLSEXT_USABLE_ELLIPTIC_CURVES = 10,
+ TLSEXT_EC_POINT_FORMATS = 11,
+ TLSEXT_SRP_IDENTIFIER = 12,
+ TLSEXT_SIGNATURE_ALGORITHMS = 13,
+
+ TLSEXT_SESSION_TICKET = 35,
+
+ TLSEXT_NEXT_PROTOCOL = 13172,
+
+ TLSEXT_SAFE_RENEGOTIATION = 65281,
+};
+
/**
* Base class representing a TLS extension of some kind
*/
diff --git a/src/tls/tls_magic.h b/src/tls/tls_magic.h
index 05ad4ea9f..c238f1324 100644
--- a/src/tls/tls_magic.h
+++ b/src/tls/tls_magic.h
@@ -151,26 +151,6 @@ enum Compression_Method {
DEFLATE_COMPRESSION = 0x01
};
-enum Handshake_Extension_Type {
- TLSEXT_SERVER_NAME_INDICATION = 0,
- TLSEXT_MAX_FRAGMENT_LENGTH = 1,
- TLSEXT_CLIENT_CERT_URL = 2,
- TLSEXT_TRUSTED_CA_KEYS = 3,
- TLSEXT_TRUNCATED_HMAC = 4,
-
- TLSEXT_CERTIFICATE_TYPES = 9,
- TLSEXT_USABLE_ELLIPTIC_CURVES = 10,
- TLSEXT_EC_POINT_FORMATS = 11,
- TLSEXT_SRP_IDENTIFIER = 12,
- TLSEXT_SIGNATURE_ALGORITHMS = 13,
-
- TLSEXT_SESSION_TICKET = 35,
-
- TLSEXT_NEXT_PROTOCOL = 13172,
-
- TLSEXT_SAFE_RENEGOTIATION = 65281,
-};
-
}
}