summaryrefslogtreecommitdiff
path: root/ttmac.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-10-14 12:30:10 -0400
committerJeffrey Walton <noloader@gmail.com>2019-10-14 12:30:10 -0400
commit9013cb60fb1b28537a185fc98486d74e7cf39ea1 (patch)
tree992fd047b43a6142c9d0d107eb5eb60baa3cca27 /ttmac.h
parent6f36f0db06d3312ae17b8b89c51ff0e2f10352f1 (diff)
downloadcryptopp-git-9013cb60fb1b28537a185fc98486d74e7cf39ea1.tar.gz
Fix semicolons yet again (GH #889)
So it looks like sed added a '\r' between the closing paren and the semi. Grepping for '^;' failed because the '\r' was considered part of the previous line, so it showed no hits. I finally had to write a C program to properly identify and fix those damn stray semicolons.
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 89b99395..d50b0038 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