diff options
Diffstat (limited to 'src/core/libstate')
-rw-r--r-- | src/core/libstate/engine.cpp | 2 | ||||
-rw-r--r-- | src/core/libstate/engine.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/core/libstate/engine.cpp b/src/core/libstate/engine.cpp index 44c3ae5e5..ce32fa3b4 100644 --- a/src/core/libstate/engine.cpp +++ b/src/core/libstate/engine.cpp @@ -129,7 +129,9 @@ ECDSA_Operation* ecdsa_op(const EC_Domain_Params& dom_pars, throw Lookup_Error("Engine_Core::ecdsa_op: Unable to find a working engine"); } +#endif +#if defined(BOTAN_HAS_ECKAEG) /************************************************* * Acquire a ECKAEG op * *************************************************/ diff --git a/src/core/libstate/engine.h b/src/core/libstate/engine.h index d9b70011c..af0fb67e1 100644 --- a/src/core/libstate/engine.h +++ b/src/core/libstate/engine.h @@ -194,7 +194,9 @@ DH_Operation* dh_op(const DL_Group&, const BigInt&); ECDSA_Operation* ecdsa_op(const EC_Domain_Params& dom_pars, const BigInt& priv_key, const PointGFp& pub_key); +#endif +#if defined(BOTAN_HAS_ECKAEG) ECKAEG_Operation* eckaeg_op(const EC_Domain_Params& dom_pars, const BigInt& priv_key, const PointGFp& pub_key); |