X-Git-Url: https://git.siccegge.de//index.cgi?p=tools.git;a=blobdiff_plain;f=tls-check;fp=tls-check;h=19a8dfc65d061f4c7e5d5e5dd6db4de564a8d906;hp=3919e2e5ba79bf50287c95395919c71adcc1e99a;hb=57a4538074167e281d7a307b3707ac9317f0a854;hpb=0a19bd5eae04fc75eda740e5c2d904ed81176f03 diff --git a/tls-check b/tls-check index 3919e2e..19a8dfc 100644 --- a/tls-check +++ b/tls-check @@ -34,10 +34,10 @@ class Verifier: response = connection.recv(4096).decode('utf-8') if not '' in response: - response = response + connection.recv(4096).decode('utf-8') + connection.recv(4096) connection.sendall(xmpp_starttls.encode('utf-8')) - response = response + "\n\n" + connection.recv(4096).decode('utf-8') + connection.recv(4096) connection = context.wrap_socket(connection, server_hostname=name) connection.do_handshake()