Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-asyncio
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
1
Merge Requests
1
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
opcua-asyncio
Commits
cedc4a43
Commit
cedc4a43
authored
Jun 16, 2016
by
olivier R-D
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix opening secure channel
parent
627c79f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
opcua/ua/uaprotocol_hand.py
opcua/ua/uaprotocol_hand.py
+1
-0
No files found.
opcua/ua/uaprotocol_hand.py
View file @
cedc4a43
...
@@ -500,6 +500,7 @@ class SecureConnection(object):
...
@@ -500,6 +500,7 @@ class SecureConnection(object):
called on server side to open secure channel
called on server side to open secure channel
"""
"""
if
not
self
.
_open
or
params
.
RequestType
==
auto
.
SecurityTokenRequestType
.
Issue
:
if
not
self
.
_open
or
params
.
RequestType
==
auto
.
SecurityTokenRequestType
.
Issue
:
self
.
_open
=
True
self
.
channel
=
auto
.
OpenSecureChannelResult
()
self
.
channel
=
auto
.
OpenSecureChannelResult
()
self
.
channel
.
SecurityToken
.
TokenId
=
13
# random value
self
.
channel
.
SecurityToken
.
TokenId
=
13
# random value
self
.
channel
.
SecurityToken
.
ChannelId
=
server
.
get_new_channel_id
()
self
.
channel
.
SecurityToken
.
ChannelId
=
server
.
get_new_channel_id
()
...
...
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