diff options
author | Jannis Voelker <jannis.voelker@basyskom.com> | 2019-09-27 15:38:56 +0200 |
---|---|---|
committer | Jannis Voelker <jannis.voelker@basyskom.com> | 2019-10-10 13:18:51 +0200 |
commit | 0503801a778fa241aea2d33736eae32e1b2afc28 (patch) | |
tree | e8914aba4d80753a26316aebe9e1a6754fcc129d /tests | |
parent | fff23d7c44d750cf098e61415c3110128b0e63a5 (diff) |
Update open62541 to the v1.0 release
Change-Id: I37626bb2ef698e4e3ecda7841ae9b22db39a38bb
Reviewed-by: Frank Meerkoetter <frank.meerkoetter@basyskom.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/open62541-testserver/testserver.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/open62541-testserver/testserver.cpp b/tests/open62541-testserver/testserver.cpp index c6b6d76..12efc01 100644 --- a/tests/open62541-testserver/testserver.cpp +++ b/tests/open62541-testserver/testserver.cpp @@ -83,8 +83,7 @@ bool TestServer::createInsecureServerConfig(UA_ServerConfig *config) } // This is needed for COIN because the hostname returned by gethostname() is not resolvable. - UA_String_deleteMembers(m_config->applicationDescription.discoveryUrls); - *m_config->applicationDescription.discoveryUrls = UA_String_fromChars("opc.tcp://localhost:43344/"); + config->customHostname = UA_String_fromChars("localhost"); return true; } @@ -168,7 +167,7 @@ bool TestServer::createSecureServerConfig(UA_ServerConfig *config) UA_ServerConfig_setBasics(config); // This is needed for COIN because the hostname returned by gethostname() is not resolvable. - m_config->customHostname = UA_String_fromChars("localhost"); + config->customHostname = UA_String_fromChars("localhost"); UA_StatusCode result = UA_CertificateVerification_Trustlist(&config->certificateVerification, trustList, trustListSize, |