Skip to content
This repository has been archived by the owner on Jan 29, 2021. It is now read-only.

Commit

Permalink
Fix a bug with version enumeration.
Browse files Browse the repository at this point in the history
tlsenum currently stops version enumeration if it the server indicates
that a particular SSL or TLS version is unsupported. This commit fixes
tlsenum to continue the version enumeration.
  • Loading branch information
Ayrx committed Oct 15, 2014
1 parent 8a241ac commit 5df4a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tlsenum/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def cli(host, port):
server_hello = send_client_hello(host, port, client_hello.build())
server_hello = ServerHello.parse_server_hello(server_hello)
except HandshakeFailure:
break
continue

supported_tls_versions.append(server_hello.protocol_version)

Expand Down

0 comments on commit 5df4a81

Please sign in to comment.