aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-03-13 14:33:04 +0000
committerlloyd <[email protected]>2013-03-13 14:33:04 +0000
commit35c5cbed2ebe0eb72e2ff665b78a9027d17c19ec (patch)
tree46b89bdc0bb85231b0dd465e5a208615d1503ce7 /src/tls
parent33c0c05989f9c024ab46d176c2cc1177c3c9d6ec (diff)
Move assert.h from internal to very public (included in types.h)
This reduces friction to writing an assert, so hopefully there will be more of them as a result. And we can use asserts in public headers now, very useful for templates.
Diffstat (limited to 'src/tls')
-rw-r--r--src/tls/msg_cert_verify.cpp1
-rw-r--r--src/tls/msg_client_kex.cpp1
-rw-r--r--src/tls/msg_server_kex.cpp1
-rw-r--r--src/tls/tls_blocking.cpp1
-rw-r--r--src/tls/tls_channel.cpp1
-rw-r--r--src/tls/tls_client.cpp1
-rw-r--r--src/tls/tls_handshake_state.cpp1
-rw-r--r--src/tls/tls_record.cpp1
-rw-r--r--src/tls/tls_server.cpp1
9 files changed, 0 insertions, 9 deletions
diff --git a/src/tls/msg_cert_verify.cpp b/src/tls/msg_cert_verify.cpp
index 8cdadfe7d..436b84c24 100644
--- a/src/tls/msg_cert_verify.cpp
+++ b/src/tls/msg_cert_verify.cpp
@@ -9,7 +9,6 @@
#include <botan/internal/tls_reader.h>
#include <botan/internal/tls_extensions.h>
#include <botan/internal/tls_handshake_io.h>
-#include <botan/internal/assert.h>
#include <memory>
namespace Botan {
diff --git a/src/tls/msg_client_kex.cpp b/src/tls/msg_client_kex.cpp
index 10b439aaf..ae8b82fd4 100644
--- a/src/tls/msg_client_kex.cpp
+++ b/src/tls/msg_client_kex.cpp
@@ -9,7 +9,6 @@
#include <botan/internal/tls_reader.h>
#include <botan/internal/tls_extensions.h>
#include <botan/internal/tls_handshake_io.h>
-#include <botan/internal/assert.h>
#include <botan/credentials_manager.h>
#include <botan/pubkey.h>
#include <botan/dh.h>
diff --git a/src/tls/msg_server_kex.cpp b/src/tls/msg_server_kex.cpp
index de50080ec..b8293d3e8 100644
--- a/src/tls/msg_server_kex.cpp
+++ b/src/tls/msg_server_kex.cpp
@@ -9,7 +9,6 @@
#include <botan/internal/tls_reader.h>
#include <botan/internal/tls_extensions.h>
#include <botan/internal/tls_handshake_io.h>
-#include <botan/internal/assert.h>
#include <botan/credentials_manager.h>
#include <botan/loadstor.h>
#include <botan/pubkey.h>
diff --git a/src/tls/tls_blocking.cpp b/src/tls/tls_blocking.cpp
index 7b773cd81..aa213518d 100644
--- a/src/tls/tls_blocking.cpp
+++ b/src/tls/tls_blocking.cpp
@@ -6,7 +6,6 @@
*/
#include <botan/tls_blocking.h>
-#include <botan/internal/assert.h>
namespace Botan {
diff --git a/src/tls/tls_channel.cpp b/src/tls/tls_channel.cpp
index 18715e61d..f3623cf99 100644
--- a/src/tls/tls_channel.cpp
+++ b/src/tls/tls_channel.cpp
@@ -11,7 +11,6 @@
#include <botan/internal/tls_heartbeats.h>
#include <botan/internal/tls_record.h>
#include <botan/internal/tls_seq_numbers.h>
-#include <botan/internal/assert.h>
#include <botan/internal/rounding.h>
#include <botan/internal/stl_util.h>
#include <botan/loadstor.h>
diff --git a/src/tls/tls_client.cpp b/src/tls/tls_client.cpp
index b0724b03c..15e3ab56b 100644
--- a/src/tls/tls_client.cpp
+++ b/src/tls/tls_client.cpp
@@ -9,7 +9,6 @@
#include <botan/internal/tls_handshake_state.h>
#include <botan/internal/tls_messages.h>
#include <botan/internal/stl_util.h>
-#include <botan/internal/assert.h>
#include <memory>
namespace Botan {
diff --git a/src/tls/tls_handshake_state.cpp b/src/tls/tls_handshake_state.cpp
index 8ff0fb585..57078a6d7 100644
--- a/src/tls/tls_handshake_state.cpp
+++ b/src/tls/tls_handshake_state.cpp
@@ -8,7 +8,6 @@
#include <botan/internal/tls_handshake_state.h>
#include <botan/internal/tls_messages.h>
#include <botan/internal/tls_record.h>
-#include <botan/internal/assert.h>
#include <botan/lookup.h>
namespace Botan {
diff --git a/src/tls/tls_record.cpp b/src/tls/tls_record.cpp
index e65aa2322..855eca10f 100644
--- a/src/tls/tls_record.cpp
+++ b/src/tls/tls_record.cpp
@@ -13,7 +13,6 @@
#include <botan/internal/tls_seq_numbers.h>
#include <botan/internal/tls_session_key.h>
#include <botan/internal/rounding.h>
-#include <botan/internal/assert.h>
#include <botan/internal/xor_buf.h>
namespace Botan {
diff --git a/src/tls/tls_server.cpp b/src/tls/tls_server.cpp
index 380d3d5b1..2c393b32d 100644
--- a/src/tls/tls_server.cpp
+++ b/src/tls/tls_server.cpp
@@ -9,7 +9,6 @@
#include <botan/internal/tls_handshake_state.h>
#include <botan/internal/tls_messages.h>
#include <botan/internal/stl_util.h>
-#include <botan/internal/assert.h>
#include <memory>
namespace Botan {