summaryrefslogtreecommitdiff
path: root/ttmac.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-10-03 19:40:53 -0400
committerJeffrey Walton <noloader@gmail.com>2019-10-03 19:40:53 -0400
commit589c25264a3b15fae101962f8a8a334a03c90075 (patch)
treed8493fa92058af7139d9eeb75358623e44a4d631 /ttmac.h
parenteff2b4f05a432a745d5912ec99f8c8ac85ebbaa6 (diff)
downloadcryptopp-git-589c25264a3b15fae101962f8a8a334a03c90075.tar.gz
Don't add semicolon to CRYPTOPP_CONSTANT abd DOCUMENTED_TYPEDEF (GH #889)
This issue is a recurring issue. Let's try fixing it in the #define this time.
Diffstat (limited to 'ttmac.h')
-rw-r--r--ttmac.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ttmac.h b/ttmac.h
index 3433ded6..89b99395 100644
--- a/ttmac.h
+++ b/ttmac.h
@@ -17,7 +17,7 @@ class CRYPTOPP_NO_VTABLE TTMAC_Base : public FixedKeyLength<20>, public Iterated
{
public:
static std::string StaticAlgorithmName() {return std::string("Two-Track-MAC");}
- CRYPTOPP_CONSTANT(DIGESTSIZE=20)
+ CRYPTOPP_CONSTANT(DIGESTSIZE=20) ;
unsigned int DigestSize() const {return DIGESTSIZE;};
void UncheckedSetKey(const byte *userKey, unsigned int keylength, const NameValuePairs &params);
@@ -37,7 +37,7 @@ protected:
/// \tparam T HashTransformation class
/// \details 160-bit MAC with 160-bit key
/// \sa MessageAuthenticationCode(), <a href="http://www.weidai.com/scan-mirror/mac.html#TTMAC">Two-Track-MAC</a>
-DOCUMENTED_TYPEDEF(MessageAuthenticationCodeFinal<TTMAC_Base>, TTMAC)
+DOCUMENTED_TYPEDEF(MessageAuthenticationCodeFinal<TTMAC_Base>, TTMAC) ;
NAMESPACE_END