bazza2jw / open62541Cpp

C++ Wrappers for Open62541 Version 0.3
35 stars 22 forks source link

fix: correctly set UA_AccessControl_default #15

Closed Pro closed 2 years ago

Pro commented 3 years ago

The nullptr is wrong.

Syntax is:

UA_AccessControl_default(UA_ServerConfig *config, UA_Boolean allowAnonymous,
                         const UA_ByteString *userTokenPolicyUri,
                         size_t usernamePasswordLoginSize,
                         const UA_UsernamePasswordLogin *usernamePasswordLogin);