aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_ocsp.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-20 10:03:11 -0500
committerJack Lloyd <[email protected]>2017-12-20 10:03:11 -0500
commit646ed79e273f8b51dd2071ac045522f3e0736a40 (patch)
tree2048ed214ce62826ab7f9b6372dfb00d394c3ed0 /src/tests/test_ocsp.cpp
parent3be143169362a3da6d997dcc0ca2cdd61dcbec93 (diff)
Avoid test failures when PKCSv1.5 signatures are disabled in build
Diffstat (limited to 'src/tests/test_ocsp.cpp')
-rw-r--r--src/tests/test_ocsp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_ocsp.cpp b/src/tests/test_ocsp.cpp
index ef4c5634b..2839d9ef5 100644
--- a/src/tests/test_ocsp.cpp
+++ b/src/tests/test_ocsp.cpp
@@ -16,7 +16,7 @@
namespace Botan_Tests {
-#if defined(BOTAN_HAS_OCSP) && defined(BOTAN_HAS_RSA)
+#if defined(BOTAN_HAS_OCSP) && defined(BOTAN_HAS_RSA) && defined(BOTAN_HAS_EMSA_PKCS1)
class OCSP_Tests final : public Test
{