From b9d4cdc6a88db1ae648f89326f077cd060cf0a4b Mon Sep 17 00:00:00 2001 From: Colin Kuebler Date: Mon, 13 Jan 2020 13:53:51 -0500 Subject: [PATCH] Revert #496 fixes #500 --- scripts/psk-frontend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/psk-frontend.py b/scripts/psk-frontend.py index c69ea77..586f616 100755 --- a/scripts/psk-frontend.py +++ b/scripts/psk-frontend.py @@ -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.decode()) + hint=self.hint) s2 = client(self.host, self.port) self.sessions.append((ssl_sock, s2))