Skip to content

Commit c9748b8

Browse files
authored
Merge pull request #379 from tomato42/no-double-pha
do not send two PHAs
2 parents cef7d75 + 0516d10 commit c9748b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/tls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ def do_GET(self):
572572
else:
573573
raise ValueError("Invalid return from "
574574
"send_keyupdate_request")
575-
if self.path.startswith('/secret'):
575+
if self.path.startswith('/secret') and not request_pha:
576576
try:
577577
for i in self.connection.request_post_handshake_auth():
578578
pass

0 commit comments

Comments
 (0)