aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls
diff options
context:
space:
mode:
authorRenĂ© Meusel <[email protected]>2022-04-05 11:52:47 +0200
committerRenĂ© Meusel <[email protected]>2022-04-05 11:56:33 +0200
commit9b41f88edebdb1a978ebbd9fa7799be09282f404 (patch)
tree1e1f67f2f6f3e15b5e332acff9962837ca26ffd4 /src/lib/tls
parent13af2356e51b58ade7a1481a957d8a293b0ff9d6 (diff)
include what you use
Diffstat (limited to 'src/lib/tls')
-rw-r--r--src/lib/tls/msg_client_hello.cpp2
-rw-r--r--src/lib/tls/tls12/msg_cert_status.cpp1
-rw-r--r--src/lib/tls/tls_callbacks.h1
-rw-r--r--src/lib/tls/tls_extensions.h1
4 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/tls/msg_client_hello.cpp b/src/lib/tls/msg_client_hello.cpp
index 320d9c0e9..c164f23f6 100644
--- a/src/lib/tls/msg_client_hello.cpp
+++ b/src/lib/tls/msg_client_hello.cpp
@@ -23,6 +23,8 @@
#include <botan/internal/tls_handshake_io.h>
#include <botan/internal/tls_handshake_hash.h>
+#include <chrono>
+
namespace Botan::TLS {
enum
diff --git a/src/lib/tls/tls12/msg_cert_status.cpp b/src/lib/tls/tls12/msg_cert_status.cpp
index 2ae66f9b8..e896a6991 100644
--- a/src/lib/tls/tls12/msg_cert_status.cpp
+++ b/src/lib/tls/tls12/msg_cert_status.cpp
@@ -12,6 +12,7 @@
#include <botan/internal/tls_handshake_hash.h>
#include <botan/der_enc.h>
#include <botan/ber_dec.h>
+#include <botan/ocsp.h>
namespace Botan::TLS {
diff --git a/src/lib/tls/tls_callbacks.h b/src/lib/tls/tls_callbacks.h
index 080f4d324..67da7c5a7 100644
--- a/src/lib/tls/tls_callbacks.h
+++ b/src/lib/tls/tls_callbacks.h
@@ -13,6 +13,7 @@
#include <botan/tls_session.h>
#include <botan/tls_alert.h>
#include <botan/pubkey.h>
+#include <botan/ocsp.h>
#include <optional>
namespace Botan {
diff --git a/src/lib/tls/tls_extensions.h b/src/lib/tls/tls_extensions.h
index 39fa13ca4..f8eadb755 100644
--- a/src/lib/tls/tls_extensions.h
+++ b/src/lib/tls/tls_extensions.h
@@ -12,7 +12,6 @@
#ifndef BOTAN_TLS_EXTENSIONS_H_
#define BOTAN_TLS_EXTENSIONS_H_
-#include <botan/ocsp.h>
#include <botan/tls_algos.h>
#include <botan/tls_magic.h>
#include <botan/tls_version.h>