summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/open62541-testserver/testserver.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/open62541-testserver/testserver.cpp b/tests/open62541-testserver/testserver.cpp
index 12efc01..23385cc 100644
--- a/tests/open62541-testserver/testserver.cpp
+++ b/tests/open62541-testserver/testserver.cpp
@@ -48,10 +48,12 @@
QT_BEGIN_NAMESPACE
+#if defined UA_ENABLE_ENCRYPTION
static const size_t usernamePasswordsSize = 2;
static UA_UsernamePasswordLogin usernamePasswords[2] = {
{UA_STRING_STATIC("user1"), UA_STRING_STATIC("password")},
{UA_STRING_STATIC("user2"), UA_STRING_STATIC("password1")}};
+#endif
const UA_UInt16 portNumber = 43344;