Unverified Commit a39b84ea authored by Max Inden's avatar Max Inden Committed by GitHub

sec/insecure/insecure.go: Fix typo (#167)

`SecureInbound` secures an inbound and not an outbound connection.
parent d6afc690
......@@ -61,7 +61,7 @@ func (t *Transport) LocalPrivateKey() ci.PrivKey {
return t.key
}
// SecureInbound *pretends to secure* an outbound connection to the given peer.
// SecureInbound *pretends to secure* an inbound 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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment