Lines Matching refs:Bugs
208 if config.Bugs.NullAllCiphers {
219 if hc.config.Bugs.NullAllCiphers {
304 if hc.config.Bugs.SequenceNumberMapping != nil {
306 seqU64 = hc.config.Bugs.SequenceNumberMapping(seqU64)
531 if config.Bugs.MaxPadding {
541 if config.Bugs.PaddingFirstByteBad || config.Bugs.PaddingFirstByteBadIf255 && paddingLen == 256 {
568 paddingLen := hc.config.Bugs.RecordPadding
569 if hc.config.Bugs.OmitRecordContents {
745 if err == io.EOF && c.config.Bugs.ExpectCloseNotify {
784 expect = c.config.Bugs.ExpectInitialRecordVersion
877 if c.config.Bugs.MaxReceivePlaintext != 0 {
878 max = c.config.Bugs.MaxReceivePlaintext
960 if c.config.Bugs.FragmentAlert {
963 } else if c.config.Bugs.DoubleAlert {
1007 if c.config.Bugs.SendWrongMessageType != 0 && msgType == c.config.Bugs.SendWrongMessageType {
1009 } else if msgType == typeServerHello && c.config.Bugs.SendServerHelloAsHelloRetryRequest {
1020 if msgType := c.config.Bugs.SendTrailingMessageData; msgType != 0 {
1042 if c.config.Bugs.SendHelloRequestBeforeEveryHandshakeMessage {
1049 if c.config.Bugs.PackHandshakeFlight {
1065 if m > maxPlaintext && !c.config.Bugs.SendLargeRecords {
1068 …if typ == recordTypeHandshake && c.config.Bugs.MaxHandshakeRecordLength > 0 && m > c.config.Bugs.M…
1069 m = c.config.Bugs.MaxHandshakeRecordLength
1073 if first && isClientHello && !c.config.Bugs.FragmentClientVersion && m < 6 {
1104 if outerType := c.config.Bugs.OuterRecordType; outerType != 0 {
1117 if c.config.Bugs.SendRecordVersion != 0 {
1118 vers = c.config.Bugs.SendRecordVersion
1120 if c.vers == 0 && c.config.Bugs.SendInitialRecordVersion != 0 {
1121 vers = c.config.Bugs.SendInitialRecordVersion
1328 if len(c.config.Bugs.TimeoutSchedule) == 0 {
1334 if c.config.Bugs.PacketAdaptor == nil {
1337 for _, timeout := range c.config.Bugs.TimeoutSchedule {
1339 packets, err := c.config.Bugs.PacketAdaptor.SendReadTimeout(timeout)
1397 if c.config.Bugs.SendSpuriousAlert != 0 {
1398 c.sendAlertLocked(alertLevelError, c.config.Bugs.SendSpuriousAlert)
1401 if c.config.Bugs.SendHelloRequestBeforeEveryAppDataRecord {
1431 if c.config.Bugs.ExpectGREASE && !newSessionTicket.hasGREASEExtension {
1435 if c.config.Bugs.ExpectTicketEarlyDataInfo && newSessionTicket.maxEarlyDataSize == 0 {
1439 if c.config.Bugs.ExpectNoNewSessionTicket {
1496 if c.config.Bugs.RejectUnsolicitedKeyUpdate {
1538 if c.config.Bugs.BadHelloRequest != nil {
1539 helloReq = c.config.Bugs.BadHelloRequest
1620 if c.handshakeComplete && !c.config.Bugs.NoCloseNotify {
1622 if c.config.Bugs.SendAlertOnShutdown != 0 {
1623 alert = c.config.Bugs.SendAlertOnShutdown
1636 if c.handshakeComplete && alertErr == nil && c.config.Bugs.ExpectCloseNotify {
1665 if c.isDTLS && c.config.Bugs.SendSplitAlert {
1674 if data := c.config.Bugs.AppDataBeforeHandshake; data != nil {
1682 if c.handshakeErr == nil && c.config.Bugs.SendInvalidRecordType {
1774 if c.config.Bugs.NoRenegotiationInfo {
1777 if c.cipherSuite == nil && c.config.Bugs.NoRenegotiationInfoInInitial {
1780 if c.cipherSuite != nil && c.config.Bugs.NoRenegotiationInfoAfterInitial {
1808 duplicateEarlyDataInfo: c.config.Bugs.DuplicateTicketEarlyDataInfo,
1809 customExtension: c.config.Bugs.CustomTicketExtension,
1814 if c.config.Bugs.SendTicketLifetime != 0 {
1815 m.ticketLifetime = uint32(c.config.Bugs.SendTicketLifetime / time.Second)
1829 if !c.config.Bugs.SendEmptySessionTicket {