fix
authorThomasV <thomasv@gitorious>
Wed, 2 Oct 2013 08:43:02 +0000 (10:43 +0200)
committerThomasV <thomasv@gitorious>
Wed, 2 Oct 2013 08:43:02 +0000 (10:43 +0200)
lib/interface.py

index 91bcf91..30d7491 100644 (file)
@@ -338,6 +338,8 @@ class Interface(threading.Thread):
                                     do_handshake_on_connect=True)
             except ssl.SSLError, e:
                 print_error("SSL error:", self.host, e)
+                if e.errno != 1:
+                    return
                 if is_new:
                     os.rename(temporary_path, cert_path + '.rej')
                 else: