aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_magic.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-23 15:30:29 +0000
committerlloyd <[email protected]>2012-01-23 15:30:29 +0000
commita445f7f4a1089fc034c35c500e1572eb9518f44f (patch)
tree3231b324a290cb9c67e9a0512a40acad8fa024a1 /src/tls/tls_magic.h
parent8bba8bab6077ee184c102d6634b288e7dd32b1dc (diff)
Since this branch is hugely API breaking already, go ahead and put
everything into a new namespace (Botan::TLS), removing the TLS_ prefixes on everything.
Diffstat (limited to 'src/tls/tls_magic.h')
-rw-r--r--src/tls/tls_magic.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tls/tls_magic.h b/src/tls/tls_magic.h
index 3426088bd..09919c26f 100644
--- a/src/tls/tls_magic.h
+++ b/src/tls/tls_magic.h
@@ -10,6 +10,8 @@
namespace Botan {
+namespace TLS {
+
/**
* Protocol Constants for SSL/TLS
*/
@@ -167,7 +169,7 @@ enum Compression_Method {
DEFLATE_COMPRESSION = 0x01
};
-enum TLS_Handshake_Extension_Type {
+enum Handshake_Extension_Type {
TLSEXT_SERVER_NAME_INDICATION = 0,
TLSEXT_MAX_FRAGMENT_LENGTH = 1,
TLSEXT_CLIENT_CERT_URL = 2,
@@ -189,4 +191,6 @@ enum TLS_Handshake_Extension_Type {
}
+}
+
#endif