]> git.siccegge.de Git - tools.git/commitdiff
Remove code from debugging
authorChristoph Egger <christoph@christoph-egger.org>
Sat, 7 Nov 2015 18:12:09 +0000 (19:12 +0100)
committerChristoph Egger <christoph@christoph-egger.org>
Sat, 7 Nov 2015 18:12:09 +0000 (19:12 +0100)
tls-check

index 3919e2e5ba79bf50287c95395919c71adcc1e99a..19a8dfc65d061f4c7e5d5e5dd6db4de564a8d906 100644 (file)
--- a/tls-check
+++ b/tls-check
@@ -34,10 +34,10 @@ class Verifier:
         response = connection.recv(4096).decode('utf-8')
 
         if not '</stream:features>' 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()