commit d96f89b04770e586b53e5d03c96b808b0be887cc
parent ea0fec9f844e309b25c944e503057fbd43a5264e
Author: parazyd <parazyd@dyne.org>
Date: Wed, 3 Jul 2019 12:50:25 +0200
Hardcode to TLSv1.3.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tlstun.go b/tlstun.go
@@ -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
*
@@ -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
}