]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3209] Updated copyrights
authorThomas Markwalder <tmark@isc.org>
Wed, 31 Jan 2024 19:32:50 +0000 (14:32 -0500)
committerThomas Markwalder <tmark@isc.org>
Wed, 7 Feb 2024 13:58:47 +0000 (13:58 +0000)
39 files changed:
src/bin/perfdhcp/command_options.cc
src/lib/cryptolink/tests/crypto_unittests.cc
src/lib/cryptolink/tests/hash_unittests.cc
src/lib/cryptolink/tests/hmac_unittests.cc
src/lib/d2srv/testutils/nc_test_utils.cc
src/lib/dhcp/option.cc
src/lib/dhcp/option6_pdexclude.cc
src/lib/dhcp/tests/duid_factory_unittest.cc
src/lib/dhcp/tests/option6_pdexclude_unittest.cc
src/lib/dhcp/tests/option_vendor_unittest.cc
src/lib/dhcp/testutils/pkt_captures4.cc
src/lib/dhcp/testutils/pkt_captures6.cc
src/lib/dhcp_ddns/ncr_msg.cc
src/lib/dhcpsrv/cfg_duid.cc
src/lib/dhcpsrv/tests/cfg_duid_unittest.cc
src/lib/dhcpsrv/tests/duid_config_parser_unittest.cc
src/lib/dhcpsrv/tests/sanity_checks_unittest.cc
src/lib/dns/rdata.cc
src/lib/dns/rdata/any_255/tsig_250.cc
src/lib/dns/rdata/generic/detail/nsec3param_common.cc
src/lib/dns/rdata/generic/dlv_32769.cc
src/lib/dns/rdata/generic/ds_43.cc
src/lib/dns/rdata/generic/nsec3_50.cc
src/lib/dns/rdata/generic/nsec3param_51.cc
src/lib/dns/rdata/generic/nsec_47.cc
src/lib/dns/rdata/generic/rrsig_46.cc
src/lib/dns/rdata/generic/sshfp_44.cc
src/lib/dns/rdata/generic/tkey_249.cc
src/lib/dns/rdata/generic/tlsa_52.cc
src/lib/dns/rdata/in_1/dhcid_49.cc
src/lib/dns/tests/nsec3hash_unittest.cc
src/lib/dns/tests/rdata_dhcid_unittest.cc
src/lib/dns/tests/tsig_unittest.cc
src/lib/dns/tsigkey.cc
src/lib/eval/token.cc
src/lib/http/basic_auth.cc
src/lib/util/encode/encode.cc
src/lib/util/tests/encode_unittest.cc
src/lib/util/tests/strutil_unittest.cc

index dca896939dc67ffa4d00ecfa44d1882dc5e4d617..068065156bbd532bac95b80d3e9de9139b1f79e0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 54c5c9af639c2dde64fe5ec297c689ee3ce4cdb4..dc575044d7942e377965c07adce853e54e91bebb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 0500c35107608cf336be9bc77d41318d23d08a1e..cd747b4f4df139d2ed05dd9a04148e32e4799623 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 0fabf92640ff7d66c544d2a4df844ebc335ae276..ab133e51d43c580132638e73b143d11241ebb60d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index b0f47c18e445bd6935df7a8b6cf2fa04066489fe..6791eb96391f4537de0897aa117fd2a9ffdd9695 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 8e9a03a505079cc8b1785b85f273419066a55ff8..eda9d5838174408d7ce6ffd9318079f121482851 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 4e785e5db7f015e9afd533eea3807c43b15aa477..bdee4471b7c5078aca8d821328f4b6cc30b7e4e6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 5a7a400c21cad51dfd8845a3250dd1ebc8e6df80..ed5020db2863f411f258f88ad4c1d6a385bc60ae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index c1da0e106691b054f614d218d298570de4eaa7b4..6b3eebca9efd9f874b72728a6b04300101454757 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // Author: Andrei Pavel <andrei.pavel@qualitance.com>
 //
index 906cb6efd81fbc708445445b69f3223c204e35ae..030a59a1318d515dcbfd410ed66f2bd2e4d2bb34 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 81cc85509acf0a1d2e144511bd2bff3bc7fbe6fb..3ba9013085e8131ee1aae92bba08881354edf357 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 72e23886ec88210dac74101fb58c72ec15375b9f..f2bd8ece4e23b9c1975adeeef76d5da79ae5613c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 82c3ba9ae3d61e3034055cbbf18dc4e502ee4e5d..9b1e7bff4484a405a6a6c90978725407c26d3473 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 6a440003ddb9dec3e7b7ec0f9349a43b025481a9..24be637ab782e54018af90e5f8bf12fa1ec67e52 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2020 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 939a9a84f03468ecaec8b6fb1c61be843e2a3d68..933b2c8f775bad7ed75cb503ebc3e35179733c72 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2020 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 79de77e4609291814e412399fffad279e9a6f8fb..14a472314291861b385848cca5527eb9afad2b9f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index df297ea5ce87b2e07f2fb2bcc7b397601dd2ce78..bfe24bdee8e2f2efd65d99124e56f1d59e29d317 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 45e9a3ed1c958031b01eb3b12e629a1e9809cff7..3edfa4b8c005a7fa87ff32a723f8e3e93a3506f7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2010-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 4b20fd643d7e0714bc4c6a539834cabd093390f1..47b1107769e04d01d949ba8678c9fd63a1ae03c8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2010-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index cc90558ff851230a4153acca89ca116beb7eb3e7..6dada443a900cedac14b1ed62ed3e95c75f8d8cf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 78424cc0dbedc46f5f4aad69aa620db57f69b134..6170209806d74fde9708baa4e410a7209a813364 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 5f193c508a42a753e574751d5992d47232431204..80a6a6c119d1e6c781f074e2c52ba7b2ebb50f6e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 2de3fd6e4899d7df698e050ba0b2f67ceb793a36..398757931c4bc09531cceebf3458e1ba2199a4d0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2010-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 883291a222b9907be790a1be60e06ff6c950c921..74a7109f23585353d2dda5710c6d540423979e33 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2010-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index d3c7bac3ce34c9eb6b44211bb1ebcdf46acc0e6d..e78e18aa77b782306ed45dfde580be09f0837b28 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2010-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index da5f1f63f79dc8243268f228c44fc7f106375e75..c9f91a7b9f118c53ca2d90b3f1f27e3e7245b651 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2010-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 7ac36a3581d4a4aae4695f603a63e2c01d35d71b..168e631643b4571a7a279fe5a09a7f50e165b8a7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index cace535a48786767cb5134194359cb1d0b862be5..79520654401c96096c640cee86e223a713170dae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2021-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 94183d4127c143d0e850f242a4ee2d324a9557e2..c05ef165182f9588c0e8fdeec27e576e9c83e170 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 4d36b278ef40d31bf39710763e81baa26a37754f..fc5f51bd23bdc0c4ec6f3089355be5e0b509fb78 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index b447fa443a9e74774f0f1d0f2bc31e67b7a53ac4..39c8271d5fb719173a2da21bca909c58e82da4f6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index e603ff45b5555c3ff7c1244ee998c14fc1ed58f9..c2cedee57cc39ac65d9362983342d8389892eadb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 2e58ca7c8c9919b6af5b6026bfcba74853ed3ed2..9b40d80d946b85662e42c0adbe0744206801b7f2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 9f1eaf31ab8b4d0196e7ccbd61514b3f286dea99..a32d8c92460d1193ccb07eb20135af229b234884 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2010-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 45b11db57f543fec1c70f21a3902b1b92f621d15..4c99eca95eeb58f16056b5fd3c28de5a6d16f82a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 2f048c939aaf5f732301d97f390344a45ccf408d..b392193056eda4d10681e771c37b23cf78594fa4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2020-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index f671cb860b5c72033e47fd620b56e212c9efc473..ed63c11cc4ea44e8150eb1db74999517420e49ea 100644 (file)
@@ -89,8 +89,13 @@ BaseNEncoder::encode(const std::vector<uint8_t>& input) {
         if (cnt < bits_per_digit_) {
             digit_idx <<= 1;
         } else {
+#if 0
             // Have a complete digit index, look up digit and add it.
             encoded_output.push_back(bitsToDigit(digit_idx));
+#else
+            encoded_output.push_back(digit_set_[digit_idx]);
+#endif
+
             digit_idx = 0;
             cnt = 0;
         }
@@ -107,7 +112,11 @@ BaseNEncoder::encode(const std::vector<uint8_t>& input) {
     // We've exhausted bits, but have left over
     if (cnt) {
         digit_idx <<= (bits_per_digit_ - cnt);
+#if 0
         encoded_output.push_back(bitsToDigit(digit_idx));
+#else
+        encoded_output.push_back(digit_set_[digit_idx]);
+#endif
     }
 
     // Add padding as needed.
@@ -139,7 +148,11 @@ BaseNEncoder::decode(const std::string& encoded_str, std::vector<uint8_t>& outpu
         }
 
         // Translate the b64 digit to bits.
+#if 0
         uint8_t dig_bits = digitToBits(enc_digit);
+#else
+        uint8_t dig_bits = bits_table_[enc_digit];
+#endif
 
         // Skip whitespace.
         if (dig_bits == 0xee) {
index 6799df2b82d4cc203f3db1e416287cbfa7becab4..d90963db6b54cd41f091046130ffa7b05de749cc 100644 (file)
@@ -392,4 +392,16 @@ TEST_F(Base16Test, mappingCheck) {
     mapTest();
 }
 
+TEST(toms,theirs64) {
+    std::vector<uint8_t>input{ 'f', 'o', 'o', 'b', 'a', 'r' };
+
+    int limit = 1000000;
+    for (int i = 0; i < limit; ++i) {
+        std::string encoded = encodeBase64(input);
+        std::vector<uint8_t>decoded;
+        decodeBase64(encoded, decoded);
+        EXPECT_EQ(decoded,input);
+    }
+}
+
 }
index 563d4042c3e360445fdacdc59428e0e88e591a03..5372ba0c85551cafa7593abe75ca6f3954ef1e20 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this