diff options
author | lloyd <[email protected]> | 2012-11-12 22:05:09 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-11-12 22:05:09 +0000 |
commit | 58461a900aea49e5230b7b748fc481114d31904a (patch) | |
tree | 1a8d54f5368d5109845f6d6fee32b32b0c1d8d12 /src/tls/tls_channel.h | |
parent | 579158e826daed42963db0c8b987d51ba7831fb6 (diff) |
Changes so DTLS handshake can send messages under different epochs, eg
for retransmitting a flight.
Diffstat (limited to 'src/tls/tls_channel.h')
-rw-r--r-- | src/tls/tls_channel.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tls/tls_channel.h b/src/tls/tls_channel.h index 10ecd296f..d27f8f2f5 100644 --- a/src/tls/tls_channel.h +++ b/src/tls/tls_channel.h @@ -175,7 +175,11 @@ class BOTAN_DLL Channel void send_record(byte record_type, const std::vector<byte>& record); - void send_record_array(byte type, const byte input[], size_t length); + void send_record_under_epoch(u16bit epoch, byte record_type, + const std::vector<byte>& record); + + void send_record_array(u16bit epoch, byte record_type, + const byte input[], size_t length); void write_record(Connection_Cipher_State* cipher_state, byte type, const byte input[], size_t length); |