mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-05 18:44:58 +03:00
Set session ticket keys properly (fixed in Go 1.8)
This commit is contained in:
parent
8464020f7c
commit
c6ba43f888
1 changed files with 0 additions and 1 deletions
|
@ -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
|
c.SessionTicketsDisabled = true // bail if we don't have the entropy for the first one
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
c.SessionTicketKey = keys[0] // SetSessionTicketKeys doesn't set a 'tls.keysAlreadySet'
|
|
||||||
c.SetSessionTicketKeys(setSessionTicketKeysTestHook(keys))
|
c.SetSessionTicketKeys(setSessionTicketKeysTestHook(keys))
|
||||||
|
|
||||||
for {
|
for {
|
||||||
|
|
Loading…
Reference in a new issue