Skip to content

Commit

Permalink
add assertion for BoringSSL
Browse files Browse the repository at this point in the history
  • Loading branch information
sullis committed Mar 30, 2024
1 parent 2c892a3 commit b1eb2b7
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ class SslProviderTests extends BaseHttpTest {
private SslContext anotherSslContext;
private Http11SslContextSpec clientSslContextBuilder;

@BeforeAll
static void validateOpenSsl() {
assertThat(OpenSsl.isAvailable()).isTrue();
assertThat(OpenSsl.versionString()).isEqualTo("BoringSSL");
}

@BeforeAll
static void createSelfSignedCertificate() throws Exception {
cert = new SelfSignedCertificate("default");
Expand Down

0 comments on commit b1eb2b7

Please sign in to comment.