aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-30 16:51:40 +0000
committerlloyd <[email protected]>2010-03-30 16:51:40 +0000
commit0ab987031a950575cad8364ab2029b730b479f53 (patch)
tree63369fdf409950abae24e18c5becc4505516d30f /src/ssl
parent40d0f36446d5d80dcc1e99c8707e2b84e82c5da0 (diff)
Add some magic numbers for TLS extension codes
Diffstat (limited to 'src/ssl')
-rw-r--r--src/ssl/tls_magic.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ssl/tls_magic.h b/src/ssl/tls_magic.h
index 41fb756e9..a6ca1f8d6 100644
--- a/src/ssl/tls_magic.h
+++ b/src/ssl/tls_magic.h
@@ -115,6 +115,17 @@ enum Compression_Algo {
NO_COMPRESSION = 0x00
};
+enum TLS_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_SESSION_TICKET = 35,
+};
+
}
#endif