Remove dead code, do struct alignment, simplify code

This commit is contained in:
Mateusz Gajewski
2016-10-25 18:45:30 +02:00
parent c4d64a418b
commit 8cc3416bbc
13 changed files with 34 additions and 99 deletions

View File

@ -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
}