Commit 58b2edd2 authored by Matt Holt's avatar Matt Holt Committed by GitHub

Merge pull request #1354 from mholt/keyrotationfix

Set session ticket keys properly (fixed in Go 1.8)
parents 6271abb2 c6ba43f8
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment