Skip to content

Commit

Permalink
Merge pull request #496 from jjtParadox/patch-1
Browse files Browse the repository at this point in the history
Fix byte encoded string bug in psk-frontend
  • Loading branch information
kueblc authored Jan 12, 2020
2 parents d1f8416 + de35e12 commit 4ed300f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/psk-frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def new_client(self, s1):
ssl_version=ssl.PROTOCOL_TLSv1_2,
ciphers='PSK-AES128-CBC-SHA256',
psk=lambda identity: gen_psk(identity, self.hint),
hint=self.hint)
hint=self.hint.decode())

s2 = client(self.host, self.port)
self.sessions.append((ssl_sock, s2))
Expand Down

0 comments on commit 4ed300f

Please sign in to comment.