fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36636?usp=email )
Change subject: {cbc,remsim}: fix unbound 'use_ssl' field in HTTP_Adapter_Params ......................................................................
{cbc,remsim}: fix unbound 'use_ssl' field in HTTP_Adapter_Params
A recent commit added a new field to record HTTP_Adapter_Params, but forgot to update the callers f_http_init() to actually set this field.
Change-Id: I534d087b71cefd683a0c7411a415049c5e1ee519 Fixes: 832b1efe "HTTP_Adapter: Allow API users to enable/disable SSL" --- M cbc/CBC_Tests.ttcn M remsim/RemsimServer_Tests.ttcn 2 files changed, 18 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/36/36636/1
diff --git a/cbc/CBC_Tests.ttcn b/cbc/CBC_Tests.ttcn index 57f4d9e..52f6378 100644 --- a/cbc/CBC_Tests.ttcn +++ b/cbc/CBC_Tests.ttcn @@ -187,10 +187,10 @@ }
private function f_init(integer num_bsc := 0, integer num_mme := 0) runs on test_CT { - var HTTP_Adapter_Params http_adapter_pars; - http_adapter_pars := { + var HTTP_Adapter_Params http_adapter_pars := { http_host := mp_cbc_host, - http_port := mp_cbc_ecbe_port + http_port := mp_cbc_ecbe_port, + use_ssl := false }; f_http_init(http_adapter_pars);
diff --git a/remsim/RemsimServer_Tests.ttcn b/remsim/RemsimServer_Tests.ttcn index 94529b2..23ea8cb 100644 --- a/remsim/RemsimServer_Tests.ttcn +++ b/remsim/RemsimServer_Tests.ttcn @@ -71,7 +71,8 @@ var HTTP_Adapter_Params http_adapter_pars; http_adapter_pars := { http_host := mp_server_ip, - http_port := mp_rsres_port + http_port := mp_rsres_port, + use_ssl := false }; f_http_init(http_adapter_pars); f_rsres_post_reset();