Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
bifurcation committed Oct 31, 2024
1 parent 5c03956 commit eed4df8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
20 changes: 10 additions & 10 deletions lib/hpke/test/build.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
TEST_CASE("BoringSSL Define")
{
#if defined(__has_include)
#if __has_include(<openssl/is_boringssl.h>)
#if defined(WITH_BORINGSSL)
REQUIRE(WITH_BORINGSSL);
#else
FAIL("Expect #WITH_BORINGSSL set when compiling with BoringSSL");
#endif
#else
SKIP("Only applicable to BoringSSL");
#endif
#if __has_include(<openssl/is_boringssl.h>)
#if defined(WITH_BORINGSSL)
REQUIRE(WITH_BORINGSSL);
#else
SKIP("Cannot ensure BoringSSL without __has_include()");
FAIL("Expect #WITH_BORINGSSL set when compiling with BoringSSL");
#endif
#else
SKIP("Only applicable to BoringSSL");
#endif
#else
SKIP("Cannot ensure BoringSSL without __has_include()");
#endif
}
7 changes: 3 additions & 4 deletions lib/tls_syntax/include/tls/tls_syntax.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,25 @@

#include <algorithm>
#include <array>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <map>
#include <namespace.h>
#include <optional>
#include <stdexcept>
#include <vector>
#include <cstdint>
#include <cstddef>

#include <tls/compat.h>

namespace MLS_NAMESPACE::tls {

using std::ptrdiff_t;
using std::size_t;
using std::uint8_t;
using std::uint16_t;
using std::uint32_t;
using std::uint64_t;
using std::ptrdiff_t;
using std::uint8_t;

// For indicating no min or max in vector definitions
const size_t none = std::numeric_limits<size_t>::max();
Expand Down

0 comments on commit eed4df8

Please sign in to comment.