From c6ba43f888bc5a811b46ae347880586389c6e74f Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Sun, 15 Jan 2017 09:30:02 -0700 Subject: [PATCH] Set session ticket keys properly (fixed in Go 1.8) --- caddytls/crypto.go | 1 - 1 file changed, 1 deletion(-) diff --git a/caddytls/crypto.go b/caddytls/crypto.go index 65b10de3..14914eee 100644 --- a/caddytls/crypto.go +++ b/caddytls/crypto.go @@ -271,7 +271,6 @@ func standaloneTLSTicketKeyRotation(c *tls.Config, ticker *time.Ticker, exitChan c.SessionTicketsDisabled = true // bail if we don't have the entropy for the first one return } - c.SessionTicketKey = keys[0] // SetSessionTicketKeys doesn't set a 'tls.keysAlreadySet' c.SetSessionTicketKeys(setSessionTicketKeysTestHook(keys)) for {