]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - src/tls/tlsv1_record.h
TLS: Add support for TLS v1.1 (RFC 4346) with internal TLS
[thirdparty/hostap.git] / src / tls / tlsv1_record.h
index acbdccaee97b640d4b91e15f162bc9b3dd11ade8..0d62816225e0df153da3dc1441365cd44945e1e4 100644 (file)
@@ -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];