aboutsummaryrefslogtreecommitdiffstats
path: root/tests/none_user/server_lds.conf
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-02-17 23:52:06 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-02-17 23:52:06 +0100
commit7648a256d97abda40edbdc0d7bf59edd0a09fb95 (patch)
treea86d829f85f4a3d8038741c299d9409cb2272686 /tests/none_user/server_lds.conf
parentb2002d96f495dcb3bd2f5a738ec1615034ca876f (diff)
downloadBobinkCOpcUa-7648a256d97abda40edbdc0d7bf59edd0a09fb95.tar.gz
BobinkCOpcUa-7648a256d97abda40edbdc0d7bf59edd0a09fb95.zip
Extract createServer and parseAuthConfig, simplify programs
Rename createSecureServer to createServer and add an unsecure path (UA_ServerConfig_setMinimal) when certPath is NULL, eliminating the if/else server creation blocks in server_lds.c and server_register.c. Add parseAuthConfig() to common.c to replace four near-identical authMode parsing blocks across the three programs. Restructure server_register.c error handling with goto cleanup, removing ~20 duplicated cleanup sequences. Rename the CMake library target from DiscoveryCommon to common.
Diffstat (limited to 'tests/none_user/server_lds.conf')
0 files changed, 0 insertions, 0 deletions