diff options
author | Jack Lloyd <[email protected]> | 2017-09-23 10:01:14 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-23 10:01:14 -0400 |
commit | 28b4f854210d4aaf6b48e9cfa3c7a03138899d71 (patch) | |
tree | f15d0b2cff5466c82dd71cb2eb48082e6f336bf4 | |
parent | af16c8193a0455e19b6dac47192d90c3077217c6 (diff) | |
parent | 8ebdb286dfa954fdd93a79fe6c02110e79e64a74 (diff) |
Merge GH #1221 Fix compile of filter tests
-rw-r--r-- | src/tests/test_filters.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_filters.cpp b/src/tests/test_filters.cpp index 0fac1d4e3..4e94b5599 100644 --- a/src/tests/test_filters.cpp +++ b/src/tests/test_filters.cpp @@ -258,7 +258,7 @@ class Filter_Tests final : public Test { Test::Result result("Pipe"); -#if defined(BOTAN_HAS_SHA2_32) +#if defined(BOTAN_HAS_CODEC_FILTERS) && defined(BOTAN_HAS_SHA2_32) Botan::Pipe pipe(new Botan::Chain(new Botan::Hash_Filter("SHA-224"), new Botan::Hex_Encoder)); pipe.pop(); pipe.append(new Botan::Hash_Filter("SHA-256")); |