dexter has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41259?usp=email )


Change subject: smdpp_Tests: move module parameter up
......................................................................

smdpp_Tests: move module parameter up

The module parameters are somewhere in the middle of the module
code. Let's put them to the top to make it easier to find them.

Change-Id: I8d0fae934e48eb55d78bfa904be064c2613930a8
Related: SYS#7339
---
M smdpp/smdpp_Tests.ttcn
1 file changed, 9 insertions(+), 8 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/59/41259/1

diff --git a/smdpp/smdpp_Tests.ttcn b/smdpp/smdpp_Tests.ttcn
index 119ad08..9c453c2 100644
--- a/smdpp/smdpp_Tests.ttcn
+++ b/smdpp/smdpp_Tests.ttcn
@@ -34,6 +34,15 @@
 import from esx_header_Types_JSON all;
 import from ES2Plus_Tests all;

+/* Module Parameters */
+modulepar {
+       boolean mp_use_custom_tls_cert := true;
+       charstring mp_custom_tls_cert_path := "";  // Empty means use cert pool 
only
+       integer mp_es9plus_server_port_nist := 8000;
+       integer mp_es9plus_server_port_brp := 8001;
+       integer mp_es2plus_server_port := 8000;
+}
+
 /* C++ handles only crypto, TTCN-3 handles ASN.1 encoding/decoding most of the 
time */

 /* RSP Client Management */
@@ -418,14 +427,6 @@
        return pars;
 }

-modulepar {
-       boolean mp_use_custom_tls_cert := true;
-       charstring mp_custom_tls_cert_path := "";  // Empty means use cert pool 
only
-       integer mp_es9plus_server_port_nist := 8000;
-       integer mp_es9plus_server_port_brp := 8001;
-       integer mp_es2plus_server_port := 8000;
-}
-
 private altstep as_Tguard() runs on MTC_CT {
        [] g_Tguard.timeout {
                Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Tguard 
timeout");

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41259?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I8d0fae934e48eb55d78bfa904be064c2613930a8
Gerrit-Change-Number: 41259
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>

Reply via email to