Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-p2p-tls
Commits
80ca73eb
Unverified
Commit
80ca73eb
authored
Jul 30, 2020
by
Marten Seemann
Committed by
GitHub
Jul 30, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #68 from libp2p/remove-tls13-godebug-check
remove setting of the TLS 1.3 GODEBUG flag
parents
8a8ad624
59f7ad21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
transport.go
transport.go
+0
-7
No files found.
transport.go
View file @
80ca73eb
...
...
@@ -5,7 +5,6 @@ import (
"crypto/tls"
"errors"
"net"
"os"
"sync"
ci
"github.com/libp2p/go-libp2p-core/crypto"
...
...
@@ -13,12 +12,6 @@ import (
"github.com/libp2p/go-libp2p-core/sec"
)
// TLS 1.3 is opt-in in Go 1.12
// Activate it by setting the tls13 GODEBUG flag.
func
init
()
{
os
.
Setenv
(
"GODEBUG"
,
os
.
Getenv
(
"GODEBUG"
)
+
",tls13=1"
)
}
// ID is the protocol ID (used when negotiating with multistream)
const
ID
=
"/tls/1.0.0"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment