diff options
author | lloyd <[email protected]> | 2012-01-24 20:44:59 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-01-24 20:44:59 +0000 |
commit | cc937eff86e8df7fb4ef0cf849bd37c8b08098e9 (patch) | |
tree | 6e68349aac55f7899743d68429142a4e6ff65e5f | |
parent | b4e66e55df15b429fc57c97494488d733d3363f0 (diff) |
Move extension type here, no need to make it visible to apps
-rw-r--r-- | src/tls/tls_extensions.h | 20 | ||||
-rw-r--r-- | src/tls/tls_magic.h | 20 |
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, -}; - } } |