]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3208] Removed spurious tabs and spaces
authorFrancis Dupont <fdupont@isc.org>
Sat, 9 Mar 2024 23:53:27 +0000 (00:53 +0100)
committerFrancis Dupont <fdupont@isc.org>
Sat, 9 Mar 2024 23:53:27 +0000 (00:53 +0100)
src/lib/dns/edns.cc
src/lib/dns/opcode.h
src/lib/dns/tests/edns_unittest.cc
src/lib/dns/tests/rdata_in_a_unittest.cc
src/lib/dns/tests/rdata_in_aaaa_unittest.cc
src/lib/dns/tests/tsig_unittest.cc
src/lib/dns/tests/unittest_util.h
src/lib/dns/tsig.cc

index 35ad58733f6ee3a6a598bb1924b6d8b93d9fc623..4c71343d8818ff248034ce4a5933186248d7cc31 100644 (file)
@@ -68,7 +68,7 @@ EDNS::EDNS(const Name& name, const RRClass& rrclass, const RRType& rrtype,
                   "EDNS is being created with incompatible RR type: "
                   << rrtype);
     }
-    
+
     if (version_ > EDNS::SUPPORTED_VERSION) {
         isc_throw(DNSMessageBADVERS, "unsupported EDNS version: " <<
                   static_cast<unsigned int>(version_));
index 9fbd8150560f59dc5d24f3aee3a6d4d8bf5ff890..e9957a39a4a59278599ed85a7c7910bedbd7dcfb 100644 (file)
@@ -95,7 +95,7 @@ public:
     bool operator==(const Opcode& other) const {
         return (equals(other));
     }
-    
+
     /// \brief Return true iff two Opcodes are not equal.
     ///
     /// This method never throws an exception.
index c8acc9ef160ed8169a9e981af74dab63a2912c33..82b2b0dd3400f3468872476c768ca906552995c8 100644 (file)
@@ -121,7 +121,7 @@ TEST_F(EDNSTest, BadWireData) {
     // OPT RR of a non root name
     EXPECT_THROW(EDNS(Name("example.com"), rrclass, rrtype,
                       rrttl_do_on, *opt_rdata), DNSMessageFORMERR);
-                 
+
     // Unsupported Version
     EXPECT_THROW(EDNS(Name::ROOT_NAME(), rrclass, rrtype,
                       rrttl_badver, *opt_rdata), DNSMessageBADVERS);
index 809cfb5bd486bccd40b486757845a2fbd763382a..f870ad8b997f4580ebd8ad3941907ed53e9b9508 100644 (file)
@@ -154,6 +154,6 @@ TEST_F(Rdata_IN_A_Test, compare) {
     EXPECT_LT(0, large2.compare(small2));
 
     // comparison attempt between incompatible RR types should be rejected
-    EXPECT_THROW(rdata_in_a.compare(*RdataTest::rdata_nomatch), bad_cast); 
+    EXPECT_THROW(rdata_in_a.compare(*RdataTest::rdata_nomatch), bad_cast);
 }
 }
index cc7b07d8c691975e890e990f9ba5eee979fee84a..34777d8962c26ffd73d7a703cfca6f2cbec85168 100644 (file)
@@ -146,6 +146,7 @@ TEST_F(Rdata_IN_AAAA_Test, compare) {
     EXPECT_LT(0, large2.compare(small2));
 
     // comparison attempt between incompatible RR types should be rejected
-    EXPECT_THROW(rdata_in_aaaa.compare(*RdataTest::rdata_nomatch), bad_cast); 
+    EXPECT_THROW(rdata_in_aaaa.compare(*RdataTest::rdata_nomatch), bad_cast);
 }
+
 }
index c501f246f69f27bdd8c5fb1706939c746a18edf7..39df5bddfec65591f5c79e67958406113287b60f 100644 (file)
@@ -464,8 +464,8 @@ TEST_F(TSIGTest, signUsingHMACSHA224) {
 
     const uint16_t sha1_qid = 0x0967;
     const uint8_t expected_mac[] = {
-        0x3b, 0x93, 0xd3, 0xc5, 0xf9, 0x64, 0xb9, 0xc5, 0x00, 0x35, 
-        0x02, 0x69, 0x9f, 0xfc, 0x44, 0xd6, 0xe2, 0x66, 0xf4, 0x08, 
+        0x3b, 0x93, 0xd3, 0xc5, 0xf9, 0x64, 0xb9, 0xc5, 0x00, 0x35,
+        0x02, 0x69, 0x9f, 0xfc, 0x44, 0xd6, 0xe2, 0x66, 0xf4, 0x08,
         0xef, 0x33, 0xa2, 0xda, 0xa1, 0x48, 0x71, 0xd3
     };
     {
index 902611972713f7c6e23d0f5d2e1f53b7329ce641..a271ae07dd1473dc9545cd7e395f55e4808e597d 100644 (file)
@@ -50,9 +50,6 @@ public:
     matchName(const char* nameexp1, const char* nameexp2,
               const isc::dns::Name& name1, const isc::dns::Name& name2);
 };
+
 }
 #endif // UNITTEST_UTIL_H
-
-// Local Variables: 
-// mode: c++
-// End: 
index 9cbb458bdfe58b06b2c7e7eef90a3a51621f9934..b6659dd59609b953cdfb55ac6cb66147eab2432c 100644 (file)
@@ -274,7 +274,7 @@ TSIGContext::TSIGContext(const Name& key_name, const Name& algorithm_name,
         // be used in subsequent response with a TSIG indicating a BADKEY
         // error.
         impl_.reset(new TSIGContextImpl(TSIGKey(key_name, algorithm_name, 0, 0),
-                                       TSIGError::BAD_KEY()));
+                                        TSIGError::BAD_KEY()));
     } else {
         impl_.reset(new TSIGContextImpl(*result.key));
     }