aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/fpe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/fpe.cpp')
-rw-r--r--src/cmd/fpe.cpp5
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