summaryrefslogtreecommitdiffstats
path: root/src/bin/d2
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2024-02-06 20:22:14 +0100
committerThomas Markwalder <tmark@isc.org>2024-02-07 14:58:47 +0100
commit73c493ca841c25737428b3dc4bc932cccfd9a4ae (patch)
tree28f599f3627230e7713ab451a16fd04391fb66d1 /src/bin/d2
parent[#3209] addressed review (diff)
downloadkea-73c493ca841c25737428b3dc4bc932cccfd9a4ae.tar.xz
kea-73c493ca841c25737428b3dc4bc932cccfd9a4ae.zip
[#3209] Addressed review comments
Minor clean up, added commentary
Diffstat (limited to 'src/bin/d2')
-rw-r--r--src/bin/d2/tests/d2_simple_parser_unittest.cc2
-rw-r--r--src/bin/d2/tests/testdata/d2_cfg_tests.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/d2/tests/d2_simple_parser_unittest.cc b/src/bin/d2/tests/d2_simple_parser_unittest.cc
index e1efea4578..b02aa91a75 100644
--- a/src/bin/d2/tests/d2_simple_parser_unittest.cc
+++ b/src/bin/d2/tests/d2_simple_parser_unittest.cc
@@ -641,7 +641,7 @@ TEST_F(TSIGKeyInfoParserTest, invalidEntry) {
" \"digest-bits\": 120 , "
" \"secret\": \"bogus\" "
"}";
- PARSE_FAIL(config, "Cannot make D2TsigKey: Incomplete input for base64:"
+ PARSE_FAIL(config, "Cannot make D2TsigKey: non-zero bits left over"
" bogus (<string>:1:1)");
}
diff --git a/src/bin/d2/tests/testdata/d2_cfg_tests.json b/src/bin/d2/tests/testdata/d2_cfg_tests.json
index 6cb087fa0a..79fc66a660 100644
--- a/src/bin/d2/tests/testdata/d2_cfg_tests.json
+++ b/src/bin/d2/tests/testdata/d2_cfg_tests.json
@@ -702,7 +702,7 @@
#-----
,{
"description" : "D2.tsig-keys, invalid secret",
-"logic-error" : "Cannot make D2TsigKey: Incomplete input for base64: bogus (<string>:1:62)",
+"logic-error" : "Cannot make D2TsigKey: non-zero bits left over bogus (<string>:1:62)",
"data" :
{
"forward-ddns" : {},