tlstun

simple go program to add tls support to other listeners
git clone https://git.parazyd.org/tlstun
Log | Files | Refs | README | LICENSE

commit daae2776c206bfcfa8eda866d780a6b243c1cce2
parent 8f92728352341b64822b0a31c7cc0474f30f527d
Author: parazyd <parazyd@dyne.org>
Date:   Wed, 10 Jul 2019 02:07:30 +0200

Fix syntax error in main().

Diffstat:
Mtlstun.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tlstun.go b/tlstun.go @@ -119,7 +119,7 @@ func server() (net.Listener, error) { func main() { flag.Parse() - if len(os.Args < 2) { + if len(os.Args) < 2 { flag.Usage() }