From a39b84ea2e340466d57fdb342c7d62f12957d972 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Fri, 18 Sep 2020 19:38:38 +0200 Subject: [PATCH] sec/insecure/insecure.go: Fix typo (#167) `SecureInbound` secures an inbound and not an outbound connection. --- sec/insecure/insecure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sec/insecure/insecure.go b/sec/insecure/insecure.go index 1f40924..eb8dc44 100644 --- a/sec/insecure/insecure.go +++ b/sec/insecure/insecure.go @@ -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. -- GitLab