]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4326] rewording
authorRazvan Becheriu <razvan@isc.org>
Sat, 23 May 2026 17:41:41 +0000 (20:41 +0300)
committerFrancis Dupont <fdupont@isc.org>
Sat, 23 May 2026 17:53:48 +0000 (19:53 +0200)
doc/sphinx/arm/ext-gss-tsig.rst
src/hooks/d2/gss_tsig/tests/gss_tsig_cfg_unittests.cc

index 2a6f2f1f092d71f0e5b574939a307a78ab197365..c8dab0bbc9b5baaa39100450eb87be6188d6dce2 100644 (file)
@@ -645,7 +645,7 @@ defined, or if all servers have different values.
    |                      | server   |         | | ( 3 seconds )     | GSS-TSIG TKEY exchange to      |
    |                      |          |         |                     | finish before it timeouts      |
    +----------------------+----------+---------+---------------------+--------------------------------+
-   | ignore-bad-direction | global   | true /  | false               | ignore invalid MIC / bad       |      
+   | ignore-bad-direction | global   | true /  | false               | ignore invalid MIC / bad       |
    |                      |          | false   |                     | direction verify failures.     |
    +----------------------+----------+---------+---------------------+--------------------------------+
    | user-context         | global / | string  | empty               | the user-provided data in JSON |
@@ -823,8 +823,8 @@ The server map parameters are described below:
   for the global-level parameter.
 
 - ``ignore-bad-direction`` governs a workaround for Microsoft server bug.
-  When set explicitly to true DNS update responses sent when prerequisites
-  fail with the request signature are accepted as verified.
+  When set explicitly to true sent DNS update responses are accepted as
+  verified even when prerequisites fail with the request signature.
 
 - ``user-context`` is an optional parameter (see :ref:`user-context`
   for a general description of user contexts in Kea).
index cf65cd10aa6a227a1c344132683994622dc6702b..9a2d66428c4bc5f5ae8d19051ad7629f4b9e76be 100644 (file)
@@ -1249,13 +1249,13 @@ TEST(GssTsigCfgTest, configureDuplicate) {
 /// @brief Checks ignore bad direction default value.
 TEST(GssTsigCfgTest, IgnoreBadDirectionDefault) {
     // Constructor default is false.
-     GssTsigCfg cfg;
-     ASSERT_FALSE(cfg.getIgnoreBadDirection());
-     ASSERT_FALSE(GssApiSecCtx::ignore_bad_direction_);
-     ConstElementPtr json = Element::createMap();
-     ASSERT_NO_THROW(cfg.configure(json));
-     EXPECT_FALSE(cfg.getIgnoreBadDirection());
-     EXPECT_FALSE(GssApiSecCtx::ignore_bad_direction_);
+    GssTsigCfg cfg;
+    xASSERT_FALSE(cfg.getIgnoreBadDirection());
+    ASSERT_FALSE(GssApiSecCtx::ignore_bad_direction_);
+    ConstElementPtr json = Element::createMap();
+    ASSERT_NO_THROW(cfg.configure(json));
+    EXPECT_FALSE(cfg.getIgnoreBadDirection());
+    EXPECT_FALSE(GssApiSecCtx::ignore_bad_direction_);
 }
 
 /// @brief Check TKEY protocol default value.