diff options
author | Simon Warta <[email protected]> | 2015-06-26 20:20:32 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-07-03 10:33:45 +0200 |
commit | f472b8fc61accbbaa6a36af9d2d20b0fde37a1a2 (patch) | |
tree | 8e71c24da6f7f5b037024741105ca392369e590a /src/cmd/fpe.cpp | |
parent | cd9037e29f32197b9c37ef7bec955ac2372b543b (diff) |
Make Botan compile when only some modules are enabled
Fixes #146.
Diffstat (limited to 'src/cmd/fpe.cpp')
-rw-r--r-- | src/cmd/fpe.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cmd/fpe.cpp b/src/cmd/fpe.cpp index 579586eaf..a9da9dcb7 100644 --- a/src/cmd/fpe.cpp +++ b/src/cmd/fpe.cpp @@ -6,7 +6,7 @@ #include "apps.h" -#if defined(BOTAN_HAS_FPE_FE1) +#if defined(BOTAN_HAS_FPE_FE1) && defined(BOTAN_HAS_SHA1) #include <botan/fpe_fe1.h> #include <botan/sha160.h> @@ -151,5 +151,4 @@ REGISTER_APP(fpe); } -#endif - +#endif // BOTAN_HAS_FPE_FE1 && BOTAN_HAS_SHA1 |