-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move OpenSSL build dependency to libhpke * Test for WITH_BORINGSSL
- Loading branch information
Showing
5 changed files
with
63 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#include <catch2/catch_all.hpp> | ||
|
||
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 | ||
#else | ||
SKIP("Cannot ensure BoringSSL without __has_include()"); | ||
#endif | ||
} |