diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-17 23:11:29 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-17 23:27:11 +0100 |
| commit | b2002d96f495dcb3bd2f5a738ec1615034ca876f (patch) | |
| tree | aee665fb83cedebaa8ad093d0a2896a1a83881eb /CMakeLists.txt | |
| parent | 229a536a87f6b2075000e659219e0567b45345c5 (diff) | |
| download | BobinkCOpcUa-b2002d96f495dcb3bd2f5a738ec1615034ca876f.tar.gz BobinkCOpcUa-b2002d96f495dcb3bd2f5a738ec1615034ca876f.zip | |
Make LDS security config optional, add nosec_anon test
ServerLDS and ServerRegister can now run without encryption when
certificate, privateKey, and trustStore are all omitted from the
server config file. When any of the three is present, all three are
still required. The unsecured server uses UA_ServerConfig_setMinimal
with SecurityPolicy#None only.
Add nosec_anon integration test covering the LDS unsecured path.
Update readme: use symlinks instead of copies for trust stores, note
that ServerLDS and ServerRegister support running without certs.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ab6f4fd..5da5a4c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,9 +67,9 @@ enable_testing() set(_test_script "${CMAKE_SOURCE_DIR}/tests/run_test.sh") -set(_test_names none_anon none_user basic256sha256_anon aes128_user) +set(_test_names nosec_anon none_anon none_user basic256sha256_anon aes128_user) -set(_test_policies None None Basic256Sha256 Aes128_Sha256_RsaOaep) +set(_test_policies None None None Basic256Sha256 Aes128_Sha256_RsaOaep) foreach(_name _policy IN ZIP_LISTS _test_names _test_policies) add_test(NAME "${_name}" COMMAND bash "${_test_script}" "tests/${_name}" |
