Skip to content

Commit

Permalink
Remove SSLv3
Browse files Browse the repository at this point in the history
Add minimum version TLSv1.0
  • Loading branch information
dusansalestrekker committed Jul 26, 2021
1 parent d0c70fe commit 152e09e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ func visit(url *url.URL) {
ServerName: host,
InsecureSkipVerify: insecure,
Certificates: readClientCert(clientCertFile),
MinVersion: tls.VersionTLS10,
}
}

Expand All @@ -293,8 +294,6 @@ func visit(url *url.URL) {
connectedVia := "plaintext"
if resp.TLS != nil {
switch resp.TLS.Version {
case tls.VersionSSL30: //lint:ignore SA1019
connectedVia = "SSLv3"
case tls.VersionTLS10:
connectedVia = "TLSv1.0"
case tls.VersionTLS11:
Expand Down

0 comments on commit 152e09e

Please sign in to comment.