Clear warnings under Visual Studio 2008
parent
d40c7fb56b
commit
50736d8c1f
2
keccak.h
2
keccak.h
|
|
@ -83,7 +83,7 @@ public:
|
||||||
unsigned int BlockSize() const { return BLOCKSIZE; }
|
unsigned int BlockSize() const { return BLOCKSIZE; }
|
||||||
private:
|
private:
|
||||||
CRYPTOPP_COMPILE_ASSERT(BLOCKSIZE < 200); // ensure there was no underflow in the math
|
CRYPTOPP_COMPILE_ASSERT(BLOCKSIZE < 200); // ensure there was no underflow in the math
|
||||||
CRYPTOPP_COMPILE_ASSERT(BLOCKSIZE > T_DigestSize); // this is a general expectation by HMAC
|
CRYPTOPP_COMPILE_ASSERT(BLOCKSIZE > (int)T_DigestSize); // this is a general expectation by HMAC
|
||||||
};
|
};
|
||||||
|
|
||||||
//! \class Keccak_224
|
//! \class Keccak_224
|
||||||
|
|
|
||||||
2
sha3.h
2
sha3.h
|
|
@ -68,7 +68,7 @@ public:
|
||||||
unsigned int BlockSize() const { return BLOCKSIZE; }
|
unsigned int BlockSize() const { return BLOCKSIZE; }
|
||||||
private:
|
private:
|
||||||
CRYPTOPP_COMPILE_ASSERT(BLOCKSIZE < 200); // ensure there was no underflow in the math
|
CRYPTOPP_COMPILE_ASSERT(BLOCKSIZE < 200); // ensure there was no underflow in the math
|
||||||
CRYPTOPP_COMPILE_ASSERT(BLOCKSIZE > T_DigestSize); // this is a general expectation by HMAC
|
CRYPTOPP_COMPILE_ASSERT(BLOCKSIZE > (int)T_DigestSize); // this is a general expectation by HMAC
|
||||||
};
|
};
|
||||||
|
|
||||||
//! \class SHA3_224
|
//! \class SHA3_224
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue