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 7b4754d
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2023 VMware, Inc. or its affiliates, All Rights Reserved.
* Copyright (c) 2018-2024 VMware, Inc. or its affiliates, All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down 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 7b4754d

Please sign in to comment.