diff options
author | lloyd <[email protected]> | 2010-03-13 18:49:40 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-13 18:49:40 +0000 |
commit | 17470c645f0d622f6be3e9e14811703c670c0cc4 (patch) | |
tree | b6915636cdd0443c31b791e007457fc97ee5214a /src/engine | |
parent | 0f1ca25b51f72ea36227be72294f7cd5c70b33b6 (diff) |
Fix GOST, wasn't getting found in engine
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/def_engine/def_pk_ops.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/def_engine/def_pk_ops.cpp b/src/engine/def_engine/def_pk_ops.cpp index d3264e67e..878d7d35c 100644 --- a/src/engine/def_engine/def_pk_ops.cpp +++ b/src/engine/def_engine/def_pk_ops.cpp @@ -27,7 +27,7 @@ #include <botan/elgamal.h> #endif -#if defined(BOTAN_HAS_GOST_3410_2001) +#if defined(BOTAN_HAS_GOST_34_10_2001) #include <botan/gost_3410.h> #endif @@ -116,7 +116,7 @@ Default_Engine::get_signature_op(const Private_Key& key) const return new ECDSA_Signature_Operation(*s); #endif -#if defined(BOTAN_HAS_GOST_3410_2001) +#if defined(BOTAN_HAS_GOST_34_10_2001) if(const GOST_3410_PrivateKey* s = dynamic_cast<const GOST_3410_PrivateKey*>(&key)) return new GOST_3410_Signature_Operation(*s); @@ -153,7 +153,7 @@ Default_Engine::get_verify_op(const Public_Key& key) const return new ECDSA_Verification_Operation(*s); #endif -#if defined(BOTAN_HAS_GOST_3410_2001) +#if defined(BOTAN_HAS_GOST_34_10_2001) if(const GOST_3410_PublicKey* s = dynamic_cast<const GOST_3410_PublicKey*>(&key)) return new GOST_3410_Verification_Operation(*s); |