This commit is contained in:
Colin Kuebler
2020-01-13 13:53:51 -05:00
parent 4ed300fb87
commit b9d4cdc6a8

View File

@@ -63,7 +63,7 @@ class PskFrontend():
ssl_version=ssl.PROTOCOL_TLSv1_2,
ciphers='PSK-AES128-CBC-SHA256',
psk=lambda identity: gen_psk(identity, self.hint),
hint=self.hint.decode())
hint=self.hint)
s2 = client(self.host, self.port)
self.sessions.append((ssl_sock, s2))