aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/libstate/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/libstate/engine.cpp')
-rw-r--r--src/core/libstate/engine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/libstate/engine.cpp b/src/core/libstate/engine.cpp
index fb2477936..13ab63193 100644
--- a/src/core/libstate/engine.cpp
+++ b/src/core/libstate/engine.cpp
@@ -83,6 +83,7 @@ ELG_Operation* elg_op(const DL_Group& group, const BigInt& y, const BigInt& x)
throw Lookup_Error("Engine_Core::elg_op: Unable to find a working engine");
}
+#if defined(BOTAN_HAS_DH)
/*************************************************
* Acquire a DH op *
*************************************************/
@@ -99,6 +100,7 @@ DH_Operation* dh_op(const DL_Group& group, const BigInt& x)
throw Lookup_Error("Engine_Core::dh_op: Unable to find a working engine");
}
+#endif
#if defined(BOTAN_HAS_ECDSA)
/*************************************************