mirror of
https://github.com/caddyserver/caddy.git
synced 2025-06-23 00:21:23 +08:00
Remove dead code, do struct alignment, simplify code
This commit is contained in:
@ -120,7 +120,7 @@ func TestStandaloneTLSTicketKeyRotation(t *testing.T) {
|
||||
t.Errorf("Expected TLS ticket keys in use: %d; Got instead: %d.", rounds, pkt.keysInUse)
|
||||
return
|
||||
}
|
||||
if c.SessionTicketsDisabled == true {
|
||||
if c.SessionTicketsDisabled {
|
||||
t.Error("Session tickets have been disabled unexpectedly.")
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user