~gsthnz/public-inbox

Set minimum TLS version to TLS 1.2 v1 PROPOSED

Paper: 1
 Set minimum TLS version to TLS 1.2

 1 files changed, 1 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~gsthnz/public-inbox/patches/16316/mbox | git am -3
Learn more about email & git

[PATCH] Set minimum TLS version to TLS 1.2 Export this patch

---
 tls.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tls.go b/tls.go
index 6b139ab..011bd26 100644
--- a/tls.go
+++ b/tls.go
@@ -16,6 +16,7 @@ import (

func getTLSConfig() *tls.Config {
	cfg := &tls.Config{}
	cfg.MinVersion = tls.VersionTLS12
	for i := 0; i < len(config.Domain); i++ {
		if config.Domain[i].Name == "" {
			fmt.Printf("Invalid domain name on domain %d\n", i)
-- 
2.30.0
Hi there! Thanks for the patch!

To git.sr.ht:~gsthnz/satellite
   e84788c..08c1a5a  master -> master
--
Gustavo Heinz