aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_record.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/tls_record.h')
-rw-r--r--src/tls/tls_record.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tls/tls_record.h b/src/tls/tls_record.h
index 74b7e56a2..3bc58a0da 100644
--- a/src/tls/tls_record.h
+++ b/src/tls/tls_record.h
@@ -9,6 +9,7 @@
#define BOTAN_TLS_RECORDS_H__
#include <botan/tls_ciphersuite.h>
+#include <botan/tls_alert.h>
#include <botan/tls_magic.h>
#include <botan/tls_version.h>
#include <botan/pipe.h>
@@ -45,7 +46,7 @@ class BOTAN_DLL Record_Writer
void send(byte type, const byte input[], size_t length);
void send(byte type, byte val) { send(type, &val, 1); }
- void alert(Alert_Level level, Alert_Type type);
+ void send_alert(const Alert& alert);
void activate(Connection_Side side,
const Ciphersuite& suite,