Skip to content

Commit

Permalink
[#3552] Addressed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fxdupont committed Oct 11, 2024
1 parent 2a492e0 commit f6ada26
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion doc/sphinx/arm/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ that must be used:

Without these header files, or with a Botan version prior
to 2.14.0, Kea cannot build as the TLS/HTTPS support is considered
as essential for security.
essential for security.

- Very old Boost versions provide SSL support (based on OpenSSL)
without offering a choice of the TLS version; Kea can still use them,
Expand Down
1 change: 0 additions & 1 deletion src/lib/asiolink/botan_tls.cc
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ class KeaPolicy : public Botan::TLS::Default_Policy {
static const std::vector<std::string> AllowedSignatureMethodsECDSA;
};


// Kea session manager.
using KeaSessionManager = Botan::TLS::Session_Manager_Noop;

Expand Down
2 changes: 1 addition & 1 deletion src/lib/asiolink/botan_tls.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class TlsContext : public TlsContextBase {

/// @brief Destructor.
///
/// @note The destructor can't be defined here because a unique
/// @note The destructor can't be defined here because a unique
/// pointer to an incomplete type is used.
virtual ~TlsContext();

Expand Down
2 changes: 0 additions & 2 deletions src/lib/cryptolink/botan_hmac.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ class HMACImpl {
isc_throw(LibraryError, "Botan error: " << exc.what());
}

// If the key length is larger than the block size, we hash the
// key itself first.
try {
// Botan 1.8 considers len 0 a bad key. 1.9 does not,
// but we won't accept it anyway, and fail early
Expand Down
3 changes: 2 additions & 1 deletion src/lib/http/tests/tls_client_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
#include <http/tests/tls_response_creator_test.h>

#ifdef WITH_BOTAN
#define DISABLE_SOME_TESTS
// All tests work with last Botan versions so commenting this.
// #define DISABLE_SOME_TESTS
#endif
#ifdef WITH_OPENSSL
#if !defined(LIBRESSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER < 0x10100000L)
Expand Down

0 comments on commit f6ada26

Please sign in to comment.