]> Sergey Matveev's repositories - godlighty.git/blobdiff - tls.go
Files should be served the same way in WebDAV
[godlighty.git] / tls.go
diff --git a/tls.go b/tls.go
index e30d4e361a2ac485053fe13d2fc8599f70468569..40395f0c590de89b0b4b516a70ba512897c4c4f5 100644 (file)
--- a/tls.go
+++ b/tls.go
@@ -137,6 +137,7 @@ func LoadCertificates() {
 
 func NewTLSConfig() *tls.Config {
        return &tls.Config{
+               MinVersion:         tls.VersionTLS12,
                NextProtos:         NextProtos,
                GetCertificate:     GetCertificate,
                GetConfigForClient: GetConfigForClient,