aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_certstor_utils.cpp
diff options
context:
space:
mode:
authorRene Meusel <[email protected]>2019-04-12 15:02:19 +0200
committerRene Meusel <[email protected]>2019-04-12 15:02:24 +0200
commit2e392f624c1c43be822dbd08b5ec73e8e8002ee0 (patch)
treeec66822567c5a854cce4c775a6e7fb130975f353 /src/tests/test_certstor_utils.cpp
parent0c29ab1dff4926ddbbdb5f1a8c4392e1c143531d (diff)
FIX: build with x509 module disabled
Diffstat (limited to 'src/tests/test_certstor_utils.cpp')
-rw-r--r--src/tests/test_certstor_utils.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/test_certstor_utils.cpp b/src/tests/test_certstor_utils.cpp
index 3dc171411..9a0a141d9 100644
--- a/src/tests/test_certstor_utils.cpp
+++ b/src/tests/test_certstor_utils.cpp
@@ -7,10 +7,10 @@
#include "test_certstor_utils.h"
+#if defined(BOTAN_HAS_X509_CERTIFICATES)
+
#include <botan/ber_dec.h>
-#include <botan/der_enc.h>
#include <botan/hex.h>
-#include <botan/x509_dn.h>
namespace Botan_Tests {
@@ -68,3 +68,4 @@ std::vector<uint8_t> get_unknown_key_id()
}
}
+#endif