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-core
Commits
a39b84ea
Unverified
Commit
a39b84ea
authored
Sep 18, 2020
by
Max Inden
Committed by
GitHub
Sep 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sec/insecure/insecure.go: Fix typo (#167)
`SecureInbound` secures an inbound and not an outbound connection.
parent
d6afc690
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sec/insecure/insecure.go
sec/insecure/insecure.go
+1
-1
No files found.
sec/insecure/insecure.go
View file @
a39b84ea
...
...
@@ -61,7 +61,7 @@ func (t *Transport) LocalPrivateKey() ci.PrivKey {
return
t
.
key
}
// SecureInbound *pretends to secure* an
out
bound connection to the given peer.
// SecureInbound *pretends to secure* an
in
bound connection to the given peer.
// It sends the local peer's ID and public key, and receives the same from the remote peer.
// No validation is performed as to the authenticity or ownership of the provided public key,
// and the key exchange provides no security.
...
...
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