Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
osie
Commits
7f000f8c
Commit
7f000f8c
authored
Mar 21, 2022
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup.
parent
35093d4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
coupler/opc-ua-server/server.c
coupler/opc-ua-server/server.c
+4
-4
No files found.
coupler/opc-ua-server/server.c
View file @
7f000f8c
...
@@ -217,15 +217,15 @@ int main(int argc, char **argv)
...
@@ -217,15 +217,15 @@ int main(int argc, char **argv)
/* Load certificate and private key */
/* Load certificate and private key */
UA_ByteString
certificate
=
loadFile
(
certificate_filename
);
UA_ByteString
certificate
=
loadFile
(
certificate_filename
);
UA_ByteString
privateKey
=
loadFile
(
key_filename
);
UA_ByteString
privateKey
=
loadFile
(
key_filename
);
/* Load the trustlist - not used thus 0 */
/* Load the trustlist - not used thus 0 */
size_t
trustListSize
=
0
;
size_t
trustListSize
=
0
;
UA_STACKARRAY
(
UA_ByteString
,
trustList
,
trustListSize
);
UA_STACKARRAY
(
UA_ByteString
,
trustList
,
trustListSize
);
/* Loading of a issuer list, not used in this application */
/* Loading of a issuer list, not used in this application */
size_t
issuerListSize
=
0
;
size_t
issuerListSize
=
0
;
UA_ByteString
*
issuerList
=
NULL
;
UA_ByteString
*
issuerList
=
NULL
;
/* Loading of a revocation list currently unsupported */
/* Loading of a revocation list currently unsupported */
UA_ByteString
*
revocationList
=
NULL
;
UA_ByteString
*
revocationList
=
NULL
;
size_t
revocationListSize
=
0
;
size_t
revocationListSize
=
0
;
...
@@ -239,7 +239,7 @@ int main(int argc, char **argv)
...
@@ -239,7 +239,7 @@ int main(int argc, char **argv)
config
->
applicationDescription
.
applicationUri
=
UA_STRING_ALLOC
(
"urn:open62541.server.application"
);
config
->
applicationDescription
.
applicationUri
=
UA_STRING_ALLOC
(
"urn:open62541.server.application"
);
}
}
#endif
#endif
// run server
// run server
UA_StatusCode
retval
=
UA_Server_run
(
server
,
&
running
);
UA_StatusCode
retval
=
UA_Server_run
(
server
,
&
running
);
UA_Server_delete
(
server
);
UA_Server_delete
(
server
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment