File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed
client-contract-tests/src
data-model/include/data_model Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 34
34
# Inform the test harness of test service's port.
35
35
test_service_port : ${{ env.TEST_SERVICE_PORT }}
36
36
token : ${{ secrets.GITHUB_TOKEN }}
37
- version : ' cw/sc-239174/tls'
38
37
build-test :
39
38
runs-on : ubuntu-22.04
40
39
steps :
Original file line number Diff line number Diff line change @@ -131,9 +131,8 @@ std::optional<std::string> EntityManager::create(ConfigParams const& in) {
131
131
132
132
if (in.tls ) {
133
133
auto builder = TlsBuilder ();
134
- builder.VerifyPeer (!in.tls ->skipVerifyPeer );
135
- if (in.tls ->certificateAuthorityPath ) {
136
- /* TODO: pass in the CA path */
134
+ if (in.tls ->skipVerifyPeer ) {
135
+ builder.SkipVerifyPeer (*in.tls ->skipVerifyPeer );
137
136
}
138
137
config_builder.HttpProperties ().Tls (std::move (builder));
139
138
}
Original file line number Diff line number Diff line change @@ -30,12 +30,10 @@ struct adl_serializer<std::optional<T>> {
30
30
} // namespace nlohmann
31
31
32
32
struct ConfigTLSParams {
33
- bool skipVerifyPeer;
34
- std::optional<std::string> certificateAuthorityPath;
33
+ std::optional<bool > skipVerifyPeer;
35
34
};
36
35
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT (ConfigTLSParams,
37
- skipVerifyPeer,
38
- certificateAuthorityPath);
36
+ skipVerifyPeer);
39
37
40
38
struct ConfigStreamingParams {
41
39
std::optional<std::string> baseUri;
You can’t perform that action at this time.
0 commit comments