Commit cedc4a43 authored by olivier R-D's avatar olivier R-D

fix opening secure channel

parent 627c79f5
......@@ -500,6 +500,7 @@ class SecureConnection(object):
called on server side to open secure channel
"""
if not self._open or params.RequestType == auto.SecurityTokenRequestType.Issue:
self._open = True
self.channel = auto.OpenSecureChannelResult()
self.channel.SecurityToken.TokenId = 13 # random value
self.channel.SecurityToken.ChannelId = server.get_new_channel_id()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment