From 927b1a4b991fd7d4893c9f733f79ac015690e7b9 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 1 Oct 2008 14:31:24 +0000 Subject: Add missing include in ec.h. Remove macro guards in ecc_core.*, not needed since in ecdsa module --- src/pk/ecdsa/ec.h | 1 + src/pk/ecdsa/ecc_core.cpp | 3 --- src/pk/ecdsa/ecc_core.h | 7 +------ 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/pk/ecdsa/ec.h b/src/pk/ecdsa/ec.h index 48460ba0c..7a0b3cbba 100644 --- a/src/pk/ecdsa/ec.h +++ b/src/pk/ecdsa/ec.h @@ -12,6 +12,7 @@ #include #include #include +#include namespace Botan { diff --git a/src/pk/ecdsa/ecc_core.cpp b/src/pk/ecdsa/ecc_core.cpp index 8d1d48b49..f644e231c 100644 --- a/src/pk/ecdsa/ecc_core.cpp +++ b/src/pk/ecdsa/ecc_core.cpp @@ -11,8 +11,6 @@ namespace Botan { -#if defined(BOTAN_HAS_ECDSA) - /************************************************* * ECKAEG_Core Constructor * *************************************************/ @@ -90,6 +88,5 @@ ECDSA_Core::ECDSA_Core(EC_Domain_Params const& dom_pars, const BigInt& priv_key, { op = Engine_Core::ecdsa_op(dom_pars, priv_key, pub_key); } -#endif } diff --git a/src/pk/ecdsa/ecc_core.h b/src/pk/ecdsa/ecc_core.h index 1124eaa2f..4f840bf06 100644 --- a/src/pk/ecdsa/ecc_core.h +++ b/src/pk/ecdsa/ecc_core.h @@ -10,14 +10,10 @@ #include #include #include - -#if defined(BOTAN_HAS_ECDSA) - #include -#endif +#include namespace Botan { -#if defined(BOTAN_HAS_ECDSA) /************************************************* * ECDSA Core * *************************************************/ @@ -67,7 +63,6 @@ class ECKAEG_Core ECKAEG_Operation* op; Blinder blinder; }; -#endif } -- cgit v1.2.3