aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tlsv1_record.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-09-25 14:24:46 (GMT)
committerJouni Malinen <j@w1.fi>2011-09-25 14:24:46 (GMT)
commit5c47af9a7a0bdf9d37a99333816d8fc041aad9d3 (patch)
tree9653996506178f66aa635f8ea91a200ee081fa09 /src/tls/tlsv1_record.h
parent3bff59f8571cd2ef63a18e0b4c43a0bbb5baf564 (diff)
downloadhostap-5c47af9a7a0bdf9d37a99333816d8fc041aad9d3.zip
hostap-5c47af9a7a0bdf9d37a99333816d8fc041aad9d3.tar.gz
hostap-5c47af9a7a0bdf9d37a99333816d8fc041aad9d3.tar.bz2
TLS: Add support for TLS v1.1 (RFC 4346) with internal TLS
This is disabled by defautl and can be enabled with CONFIG_TLSV11=y build configuration parameter.
Diffstat (limited to 'src/tls/tlsv1_record.h')
-rw-r--r--src/tls/tlsv1_record.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tls/tlsv1_record.h b/src/tls/tlsv1_record.h
index acbdcca..0d62816 100644
--- a/src/tls/tlsv1_record.h
+++ b/src/tls/tlsv1_record.h
@@ -1,6 +1,6 @@
/*
- * TLSv1 Record Protocol
- * Copyright (c) 2006-2007, Jouni Malinen <j@w1.fi>
+ * TLS v1.0 (RFC 2246) and v1.1 (RFC 4346) Record Protocol
+ * Copyright (c) 2006-2011, Jouni Malinen <j@w1.fi>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -35,6 +35,8 @@ enum {
};
struct tlsv1_record_layer {
+ u16 tls_version;
+
u8 write_mac_secret[TLS_MAX_WRITE_MAC_SECRET_LEN];
u8 read_mac_secret[TLS_MAX_WRITE_MAC_SECRET_LEN];
u8 write_key[TLS_MAX_WRITE_KEY_LEN];