Commit 26422e6b authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

avoid using too large integer constant without a qualifier.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac372@3645 e5f2f494-b856-4b98-b285-d166d9295462
parent 1d6285dc
......@@ -231,7 +231,7 @@ TEST_F(Rdata_TSIG_Test, createFromParams) {
any::TSIG(Name("hmac-sha1"), 1286779327, 300, 12,
fake_data, 16020, 18, 6, fake_data2)));
EXPECT_THROW(any::TSIG(Name("hmac-sha256"), 281474976710656, 300, 12,
EXPECT_THROW(any::TSIG(Name("hmac-sha256"), 1LLU << 48, 300, 12,
fake_data, 16020, 18, 6, fake_data2),
isc::OutOfRange);
EXPECT_THROW(any::TSIG(Name("hmac-sha256"), 0, 300, 0, fake_data, 16020,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment