summaryrefslogtreecommitdiff
path: root/ttmac.h
diff options
context:
space:
mode:
Diffstat (limited to 'ttmac.h')
-rw-r--r--ttmac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttmac.h b/ttmac.h
index a8ca6d5..2e9b262 100644
--- a/ttmac.h
+++ b/ttmac.h
@@ -13,7 +13,7 @@ class CRYPTOPP_NO_VTABLE TTMAC_Base : public FixedKeyLength<20>, public Iterated
{
public:
static std::string StaticAlgorithmName() {return std::string("Two-Track-MAC");}
- enum {DIGESTSIZE=20};
+ CRYPTOPP_CONSTANT(DIGESTSIZE=20)
TTMAC_Base() {SetStateSize(DIGESTSIZE*2);}