Fix more hard-coded TLS 1.3 variant strings.
These should use the shim/runner combined setting. Change-Id: Iad6abb4e76f6e5accef446696aa4132073eca06a Reviewed-on: https://boringssl-review.googlesource.com/18984 Commit-Queue: David Benjamin <davidben@google.com> Commit-Queue: Steven Valdez <svaldez@google.com> Reviewed-by: Steven Valdez <svaldez@google.com>
This commit is contained in:
parent
016ebe2d0e
commit
f6ae9e6c2c
@ -4231,19 +4231,18 @@ func addStateMachineCoverageTests(config stateMachineTestConfig) {
|
|||||||
config: Config{
|
config: Config{
|
||||||
MaxVersion: VersionTLS13,
|
MaxVersion: VersionTLS13,
|
||||||
MinVersion: VersionTLS13,
|
MinVersion: VersionTLS13,
|
||||||
TLS13Variant: TLS13Experiment,
|
|
||||||
Bugs: ProtocolBugs{
|
Bugs: ProtocolBugs{
|
||||||
SendEarlyData: [][]byte{{1, 2, 3, 4}},
|
SendEarlyData: [][]byte{{1, 2, 3, 4}},
|
||||||
ExpectEarlyDataAccepted: true,
|
ExpectEarlyDataAccepted: true,
|
||||||
ExpectHalfRTTData: [][]byte{{254, 253, 252, 251}},
|
ExpectHalfRTTData: [][]byte{{254, 253, 252, 251}},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
tls13Variant: TLS13Experiment,
|
||||||
messageCount: 2,
|
messageCount: 2,
|
||||||
resumeSession: true,
|
resumeSession: true,
|
||||||
flags: []string{
|
flags: []string{
|
||||||
"-enable-early-data",
|
"-enable-early-data",
|
||||||
"-expect-accept-early-data",
|
"-expect-accept-early-data",
|
||||||
"-tls13-variant", "1",
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -4253,19 +4252,18 @@ func addStateMachineCoverageTests(config stateMachineTestConfig) {
|
|||||||
config: Config{
|
config: Config{
|
||||||
MaxVersion: VersionTLS13,
|
MaxVersion: VersionTLS13,
|
||||||
MinVersion: VersionTLS13,
|
MinVersion: VersionTLS13,
|
||||||
TLS13Variant: TLS13RecordTypeExperiment,
|
|
||||||
Bugs: ProtocolBugs{
|
Bugs: ProtocolBugs{
|
||||||
SendEarlyData: [][]byte{{1, 2, 3, 4}},
|
SendEarlyData: [][]byte{{1, 2, 3, 4}},
|
||||||
ExpectEarlyDataAccepted: true,
|
ExpectEarlyDataAccepted: true,
|
||||||
ExpectHalfRTTData: [][]byte{{254, 253, 252, 251}},
|
ExpectHalfRTTData: [][]byte{{254, 253, 252, 251}},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
tls13Variant: TLS13RecordTypeExperiment,
|
||||||
messageCount: 2,
|
messageCount: 2,
|
||||||
resumeSession: true,
|
resumeSession: true,
|
||||||
flags: []string{
|
flags: []string{
|
||||||
"-enable-early-data",
|
"-enable-early-data",
|
||||||
"-expect-accept-early-data",
|
"-expect-accept-early-data",
|
||||||
"-tls13-variant", "2",
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -10638,12 +10636,11 @@ func addTLS13HandshakeTests() {
|
|||||||
name: "SkipEarlyData-TLS13Experiment",
|
name: "SkipEarlyData-TLS13Experiment",
|
||||||
config: Config{
|
config: Config{
|
||||||
MaxVersion: VersionTLS13,
|
MaxVersion: VersionTLS13,
|
||||||
TLS13Variant: TLS13Experiment,
|
|
||||||
Bugs: ProtocolBugs{
|
Bugs: ProtocolBugs{
|
||||||
SendFakeEarlyDataLength: 4,
|
SendFakeEarlyDataLength: 4,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
flags: []string{"-tls13-variant", "1"},
|
tls13Variant: TLS13Experiment,
|
||||||
})
|
})
|
||||||
|
|
||||||
testCases = append(testCases, testCase{
|
testCases = append(testCases, testCase{
|
||||||
@ -10651,12 +10648,11 @@ func addTLS13HandshakeTests() {
|
|||||||
name: "SkipEarlyData-TLS13RecordTypeExperiment",
|
name: "SkipEarlyData-TLS13RecordTypeExperiment",
|
||||||
config: Config{
|
config: Config{
|
||||||
MaxVersion: VersionTLS13,
|
MaxVersion: VersionTLS13,
|
||||||
TLS13Variant: TLS13RecordTypeExperiment,
|
|
||||||
Bugs: ProtocolBugs{
|
Bugs: ProtocolBugs{
|
||||||
SendFakeEarlyDataLength: 4,
|
SendFakeEarlyDataLength: 4,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
flags: []string{"-tls13-variant", "2"},
|
tls13Variant: TLS13RecordTypeExperiment,
|
||||||
})
|
})
|
||||||
|
|
||||||
testCases = append(testCases, testCase{
|
testCases = append(testCases, testCase{
|
||||||
|
Loading…
Reference in New Issue
Block a user