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 {