tHardcode to TLSv1.3. - tlstun - simple go program to add tls support to other listeners
HTML git clone https://git.parazyd.org/tlstun
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit d96f89b04770e586b53e5d03c96b808b0be887cc
DIR parent ea0fec9f844e309b25c944e503057fbd43a5264e
HTML Author: parazyd <parazyd@dyne.org>
Date: Wed, 3 Jul 2019 12:50:25 +0200
Hardcode to TLSv1.3.
Diffstat:
M tlstun.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/tlstun.go b/tlstun.go
t@@ -1,7 +1,7 @@
package main
/*
- * Copyright (c) 2019 Ivan Jelincic
+ * Copyright (c) 2019 Ivan Jelincic <parazyd@dyne.org>
*
* This file is part of tlstun
*
t@@ -44,7 +44,7 @@ func tlsConfig(cert, key string) (*tls.Config, error) {
return &tls.Config{
Certificates: []tls.Certificate{creds},
- MinVersion: tls.VersionTLS12,
+ MinVersion: tls.VersionTLS13,
}, nil
}