aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-08-13 18:21:03 +0000
committerlloyd <[email protected]>2012-08-13 18:21:03 +0000
commit53d53fbe291f1e049f55d9018d2b07cf62fbef24 (patch)
treebdb224a0975644d99ddebf61ae1546209711f47a /src
parent82da86e2fb7e6b47ae893cad8bb2db44da090bd1 (diff)
Missing constant
Diffstat (limited to 'src')
-rw-r--r--src/tls/tls_magic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tls/tls_magic.h b/src/tls/tls_magic.h
index 0a097a6b8..0b3b15c06 100644
--- a/src/tls/tls_magic.h
+++ b/src/tls/tls_magic.h
@@ -17,6 +17,8 @@ namespace TLS {
*/
enum Size_Limits {
TLS_HEADER_SIZE = 5,
+ DTLS_HEADER_SIZE = TLS_HEADER_SIZE + 8,
+
MAX_PLAINTEXT_SIZE = 16*1024,
MAX_COMPRESSED_SIZE = MAX_PLAINTEXT_SIZE + 1024,
MAX_CIPHERTEXT_SIZE = MAX_COMPRESSED_SIZE + 1024,