We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc451e2 + 8f29f72 commit b361927Copy full SHA for b361927
scripts/psk-frontend.py
@@ -69,7 +69,7 @@ def new_client(self, s1):
69
self.sessions.append((ssl_sock, s2))
70
except ssl.SSLError as e:
71
print("could not establish sslpsk socket:", e)
72
- if "NO_SHARED_CIPHER" in e.reason or "WRONG_VERSION_NUMBER" in e.reason or "WRONG_SSL_VERSION" in e.reason:
+ if e and ("NO_SHARED_CIPHER" in e.reason or "WRONG_VERSION_NUMBER" in e.reason or "WRONG_SSL_VERSION" in e.reason):
73
print("don't panic this is probably just your phone!")
74
except Exception as e:
75
print(e)
0 commit comments