mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-21 19:17:40 +08:00
Merge pull request #1354 from mholt/keyrotationfix
Set session ticket keys properly (fixed in Go 1.8)
This commit is contained in:
commit
58b2edd229
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user