summaryrefslogtreecommitdiff
path: root/default.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 /default.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 'default.h')
-rw-r--r--default.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/default.h b/default.h
index 5f4c3905..da9cfb8d 100644
--- a/default.h
+++ b/default.h
@@ -56,11 +56,11 @@ class MACBadErr : public DataDecryptorErr
template <unsigned int BlockSize, unsigned int KeyLength, unsigned int DigestSize, unsigned int SaltSize, unsigned int Iterations>
struct DataParametersInfo
{
- CRYPTOPP_CONSTANT(BLOCKSIZE = BlockSize) ;
- CRYPTOPP_CONSTANT(KEYLENGTH = KeyLength) ;
- CRYPTOPP_CONSTANT(SALTLENGTH = SaltSize) ;
- CRYPTOPP_CONSTANT(DIGESTSIZE = DigestSize) ;
- CRYPTOPP_CONSTANT(ITERATIONS = Iterations) ;
+ CRYPTOPP_CONSTANT(BLOCKSIZE = BlockSize);
+ CRYPTOPP_CONSTANT(KEYLENGTH = KeyLength);
+ CRYPTOPP_CONSTANT(SALTLENGTH = SaltSize);
+ CRYPTOPP_CONSTANT(DIGESTSIZE = DigestSize);
+ CRYPTOPP_CONSTANT(ITERATIONS = Iterations);
};
typedef DataParametersInfo<LegacyBlockCipher::BLOCKSIZE, LegacyBlockCipher::DEFAULT_KEYLENGTH, LegacyHashModule::DIGESTSIZE, 8, 200> LegacyParametersInfo;
@@ -78,11 +78,11 @@ template <class BC, class H, class Info>
class DataEncryptor : public ProxyFilter, public Info
{
public:
- CRYPTOPP_CONSTANT(BLOCKSIZE = Info::BLOCKSIZE) ;
- CRYPTOPP_CONSTANT(KEYLENGTH = Info::KEYLENGTH) ;
- CRYPTOPP_CONSTANT(SALTLENGTH = Info::SALTLENGTH) ;
- CRYPTOPP_CONSTANT(DIGESTSIZE = Info::DIGESTSIZE) ;
- CRYPTOPP_CONSTANT(ITERATIONS = Info::ITERATIONS) ;
+ CRYPTOPP_CONSTANT(BLOCKSIZE = Info::BLOCKSIZE);
+ CRYPTOPP_CONSTANT(KEYLENGTH = Info::KEYLENGTH);
+ CRYPTOPP_CONSTANT(SALTLENGTH = Info::SALTLENGTH);
+ CRYPTOPP_CONSTANT(DIGESTSIZE = Info::DIGESTSIZE);
+ CRYPTOPP_CONSTANT(ITERATIONS = Info::ITERATIONS);
/// \brief Construct a DataEncryptor
/// \param passphrase a C-String password
@@ -116,11 +116,11 @@ template <class BC, class H, class Info>
class DataDecryptor : public ProxyFilter, public Info
{
public:
- CRYPTOPP_CONSTANT(BLOCKSIZE = Info::BLOCKSIZE) ;
- CRYPTOPP_CONSTANT(KEYLENGTH = Info::KEYLENGTH) ;
- CRYPTOPP_CONSTANT(SALTLENGTH = Info::SALTLENGTH) ;
- CRYPTOPP_CONSTANT(DIGESTSIZE = Info::DIGESTSIZE) ;
- CRYPTOPP_CONSTANT(ITERATIONS = Info::ITERATIONS) ;
+ CRYPTOPP_CONSTANT(BLOCKSIZE = Info::BLOCKSIZE);
+ CRYPTOPP_CONSTANT(KEYLENGTH = Info::KEYLENGTH);
+ CRYPTOPP_CONSTANT(SALTLENGTH = Info::SALTLENGTH);
+ CRYPTOPP_CONSTANT(DIGESTSIZE = Info::DIGESTSIZE);
+ CRYPTOPP_CONSTANT(ITERATIONS = Info::ITERATIONS);
/// \brief Constructs a DataDecryptor
/// \param passphrase a C-String password
@@ -173,11 +173,11 @@ template <class BC, class H, class MAC, class Info>
class DataEncryptorWithMAC : public ProxyFilter
{
public:
- CRYPTOPP_CONSTANT(BLOCKSIZE = Info::BLOCKSIZE) ;
- CRYPTOPP_CONSTANT(KEYLENGTH = Info::KEYLENGTH) ;
- CRYPTOPP_CONSTANT(SALTLENGTH = Info::SALTLENGTH) ;
- CRYPTOPP_CONSTANT(DIGESTSIZE = Info::DIGESTSIZE) ;
- CRYPTOPP_CONSTANT(ITERATIONS = Info::ITERATIONS) ;
+ CRYPTOPP_CONSTANT(BLOCKSIZE = Info::BLOCKSIZE);
+ CRYPTOPP_CONSTANT(KEYLENGTH = Info::KEYLENGTH);
+ CRYPTOPP_CONSTANT(SALTLENGTH = Info::SALTLENGTH);
+ CRYPTOPP_CONSTANT(DIGESTSIZE = Info::DIGESTSIZE);
+ CRYPTOPP_CONSTANT(ITERATIONS = Info::ITERATIONS);
/// \brief Constructs a DataEncryptorWithMAC
/// \param passphrase a C-String password
@@ -218,11 +218,11 @@ template <class BC, class H, class MAC, class Info>
class DataDecryptorWithMAC : public ProxyFilter
{
public:
- CRYPTOPP_CONSTANT(BLOCKSIZE = Info::BLOCKSIZE) ;
- CRYPTOPP_CONSTANT(KEYLENGTH = Info::KEYLENGTH) ;
- CRYPTOPP_CONSTANT(SALTLENGTH = Info::SALTLENGTH) ;
- CRYPTOPP_CONSTANT(DIGESTSIZE = Info::DIGESTSIZE) ;
- CRYPTOPP_CONSTANT(ITERATIONS = Info::ITERATIONS) ;
+ CRYPTOPP_CONSTANT(BLOCKSIZE = Info::BLOCKSIZE);
+ CRYPTOPP_CONSTANT(KEYLENGTH = Info::KEYLENGTH);
+ CRYPTOPP_CONSTANT(SALTLENGTH = Info::SALTLENGTH);
+ CRYPTOPP_CONSTANT(DIGESTSIZE = Info::DIGESTSIZE);
+ CRYPTOPP_CONSTANT(ITERATIONS = Info::ITERATIONS);
/// \brief Constructs a DataDecryptor
/// \param passphrase a C-String password